[BusyBox] ash exits if a child process exits with non-blocking stdin

Vladimir N. Oleynik dzo at simtreas.ru
Thu Aug 19 10:54:05 UTC 2004


Matt,

> I've come across some strange-seeming behaviour when running programs
> under Busybox (1.0.0-rc3) ash. If the child process sets stdin to be
> non-blocking and then exits, the parent ash will also exit. A quick strace
> shows that a subsequent read() from stdin returns EAGAIN (as would be
> expected):

Thanks!
Patch attached.


--w
vodz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: last_patch134
Url: http://lists.busybox.net/pipermail/busybox/attachments/20040819/0e51d3c6/attachment.diff 


More information about the busybox mailing list