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

Re: PATCH: zselect builtin.



Peter Stephenson wrote:

> ...
> 
> This isn't quite right; normal function execution doesn't work quite
> that way.  What is happening is I have a function that sets a trap,
> which gets restored because of the localtraps option.  Freeing a trap
> does use freeeprog, with the described behaviour.  So it's less
> disastrous, and I can probably avoid using local traps, but would still
> be nice to fix.

Yes, it would be. It was mostly a pretty simple-minded attempt to
ensure that we don't free stuff too early. I'm not sure where a better
place is to put the calls to free*, though.


Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@xxxxxxxxx



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