From ed4778772c201f90cba4d8d09c6a75e0e920bd03 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 21 Apr 2004 14:26:09 +0000 Subject: [PATCH] (main): Do not ignore SIGPIPE, as POSIX 1003.1-2001 does not allow this. This undoes the 1996-10-24 patch. --- src/tee.c | 4 ---- 1 file changed, 4 deletions(-) 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. */ -- 2.47.2