Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: allocation bug



Peter Stephenson wrote:
> This comes from the REPORTTIME code.  Presumably it showed up here
> because the job exited and caused a SIGCHLD while zle was active.
> Maybe there's more possible nastiness in code that can get called from
> the signal handler?

Yes, you get the same when the shell reads TMOUT.  There is a potentional
memory leak when the requested variable is an array.  Perhaps it would be
better to put HEAPALLOC into getstrvalue or to the place where arrays are
joined.

Zoltan



Messages sorted by: Reverse Date, Date, Thread, Author