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

Re: PATCH: closing stdin in zle



Sven Wischnowsky wrote:
> Peter, is movefd(), redup(), zclose() the right way to do it? (At
> least it works...)

Unless I'm missing something fundamental, redup() automatically calls
zclose() for the fd redup'd from, so the zclose's aren't necessary and I've
editted them out by hand.  Otherwise, this is certainly supposed to work.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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