bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signal-handling cleanup for csplit, install, ls, nohup, sort, tee


From: Jim Meyering
Subject: Re: signal-handling cleanup for csplit, install, ls, nohup, sort, tee
Date: Wed, 21 Apr 2004 16:35:24 +0200

Paul Eggert <address@hidden> 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  <address@hidden>
>
>       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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]