From: Jim Meyering Date: Wed, 21 Apr 2004 14:26:09 +0000 (+0000) Subject: (main): Do not ignore SIGPIPE, as POSIX 1003.1-2001 X-Git-Tag: v5.3.0~1692 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed4778772c201f90cba4d8d09c6a75e0e920bd03;p=thirdparty%2Fcoreutils.git (main): Do not ignore SIGPIPE, as POSIX 1003.1-2001 does not allow this. This undoes the 1996-10-24 patch. --- diff --git a/src/tee.c b/src/tee.c index 8e2d4bcba3..8459a9690b 100644 --- a/src/tee.c +++ b/src/tee.c @@ -117,10 +117,6 @@ main (int argc, char **argv) if (ignore_interrupts) signal (SIGINT, SIG_IGN); - /* Don't let us be killed if one of the output files is a pipe that - doesn't consume all its input. */ - signal (SIGPIPE, SIG_IGN); - /* Do *not* warn if tee is given no file arguments. POSIX requires that it work when given no arguments. */