[BusyBox] [Bug#208810: busybox ash doesn't handle SIGPIPE correctly when built without -DJOBS]

Vladimir N. Oleynik dzo at simtreas.ru
Mon Sep 15 08:09:07 UTC 2003


Bastian,

> ----- Forwarded message from "Steinar H. Gunderson" <sgunderson at bigfoot.com> -----
> 
> Subject: Bug#208810: Updated info (and solution)
> Date: Fri, 12 Sep 2003 00:24:07 +0200
> From: "Steinar H. Gunderson" <sgunderson at bigfoot.com>
> To: 208810 at bugs.debian.org
> 
> The problem is actually not in find, it's in ash. When invoked from hw-detect
> as (e.g.)
> 
>   find /lib/modules/2.4.21-5-386/kernel/ | grep -q ide-scsi
> 
> The solution (at least to me) seems to be replacing the first five lines by
> 
>                 st = WTERMSIG(status);
> #if JOBS
>                 if (WIFSTOPPED(status))
>                         st = WSTOPSIG(status);
> #endif
> 
> which seems logical, and fixes the problem for me.

Good catch.

But, why you dont sending to dash bugreport system too?


--w
vodz




More information about the busybox mailing list