summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-21 14:26:09 +0000
committerJim Meyering <jim@meyering.net>2004-04-21 14:26:09 +0000
commited4778772c201f90cba4d8d09c6a75e0e920bd03 (patch)
treebecf583e23c0a6372bbbe22c9ca6a56e46082eb9
parentb55c0ce8ee89762f7834ac47fd82527dac70e01f (diff)
downloadcoreutils-ed4778772c201f90cba4d8d09c6a75e0e920bd03.tar.xz
(main): Do not ignore SIGPIPE, as POSIX 1003.1-2001
does not allow this. This undoes the 1996-10-24 patch.
-rw-r--r--src/tee.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tee.c b/src/tee.c
index 8e2d4bcba..8459a9690 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. */