Paul Eggert <[EMAIL PROTECTED]> wrote:
> I reviewed coreutils for signal-handling bugs (e.g., race conditions)
> and came up with the following proposed patch for coreutils.  This
> patch is relative to CVS coreutils.  The only possibly-controversial
> bit is the change to "tee".

I don't think this will cause problems, these days,
since shells (at least bash and zsh) seem to ignore SIGPIPE.

> This patch does not cover the "dd" command, which contains the most
> signal-handling problems.  I'll send separate email about "dd".
>
> 2004-04-18  Paul Eggert  <[EMAIL PROTECTED]>
>
>       Signal-handling cleanup for coreutils.  Here are the highlights:
>
>        - csplit sometimes failed to remove files when interrupted.
>        - csplit didn't clean up if two signals arrived nearly simultaneously.
>        - install -s failed on System V if SIGCHLD was ignored.
>        - ls could incorrectly restore color if multiple signals
>          arrived nearly simultaneously.
>        - tee ignored SIGPIPE, but POSIX doesn't allow this.

Thank you!
I've applied those.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to