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

Re: closing stdin (Re: _make suppress error on OpenBSD.)



Bart Schaefer wrote:

> ...
> 
> It makes more sense to me from the standpoint of the shell's internals to
> simply close FD 0 rather than reopen it on /dev/null.  On the other hand,
> I've long forgotten (if I ever knew) why the stdin of ZLE functions is
> closed.  (Zefram?)  It's trivial to reopen it again:

This was done (by me) in 6484. For messages leading up to this, see:
6462 etc. (subject `Re: forwarded bug report', original: 6383).

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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