projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b55c0ce
)
(main): Do not ignore SIGPIPE, as POSIX 1003.1-2001
author
Jim Meyering
<jim@meyering.net>
Wed, 21 Apr 2004 14:26:09 +0000
(14:26 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 21 Apr 2004 14:26:09 +0000
(14:26 +0000)
does not allow this. This undoes the 1996-10-24 patch.
src/tee.c
patch
|
blob
|
history
diff --git
a/src/tee.c
b/src/tee.c
index 8e2d4bcba3b5b0df81f631e5dbd4fcc45948cfbb..8459a9690bb77a93af4fd2552223423899341c62 100644
(file)
--- 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. */