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

Re: two new bugs



> I wrote:
> > 2)
> > 
> > % fn() { if true; then functions fn | less; fi; }
> > % fn
> > zsh: 14277 done                    functions fn | 
> > zsh: 14278 suspended (tty output)  less
> 
> There's a race condition here.  This makes it rather nastily system
> dependent exactly how it shows up.  I also sometimes get the
> right output, but instead of being piped through less it simply ends
> up dumped to the terminal, with a status of 1 returned.  These tests
> were on IRIX 5.3; with SunOS 5.5 I can't get it to show up at all.

Didn't you applied my experimental patch do remove pipe synchronization
from exec.c?  That may cause excatly the problem you describe above I
suppose.

If you didn't I can test it on IRIX 5.3 but this week I have no time at
all.

Zoltan



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