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

Re: zsh-3.0.2 repacked



Hi again,

> > other libc's. Have you actually checked this?

> Yes of course.  On all other systems I know (and I tesed zsh on 8 different
> Unix systems) setvbuf ignores the last argument of setvbuf if the second
> argument is NULL.  And conditional compilation is probably has been put
> there because there were some systems without setvbuf or _IOFBF.

Ok, well yes, sorry.

> And I used static buffer instead of passing NULL to make sure that it will
> really work. I can imagine that some other system's buggy libc would
> interpret non-zero last argument as if you had given it a buffer at address
> NULL.

Hm... that's *very* defensive.  :-)

Wolfgang.



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