[BusyBox] Busybox shell bugs.

Rob Landley rob at landley.net
Mon Oct 6 19:01:48 UTC 2003

On Monday 06 October 2003 06:00, Vladimir N. Oleynik wrote:
> Rob,
> > Also, when using busybox ash, commands that pipe into another command do
> > not get aborted when the command they're piping to exits.
> >
> > Repeat the above piping into a nonexistent file:
> >
> > find . -name "*.c" | xargs grep bb_getopt_ulflags | does_not_exist
> >
> > Or pipe to more and then hit q at the first screen full...
> My bash work same...
> Left pipe cmd work bacgrounded and we detect problem with right cmd after
> pipe() and fork() called.
> Busybox ash dont print "Broken pipe" message only. Patch attached.
> Your problem is general Unix problem.

Actually it detects the problem (kills grep with signal 13) when the output 
pipe fills up its 4k block.  It's just the above example didn't.


More information about the busybox mailing list