projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65715de
)
(main): Don't catch SIGPIPE if no such signal.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 13 Oct 1993 21:55:46 +0000
(17:55 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 13 Oct 1993 21:55:46 +0000
(17:55 -0400)
From-SVN: r5782
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index aec4c7901a0c7fa591a44511dc4b0f3dc1769e16..fee2bd40d0ee9e77b9f1c943a027cbeef80c41cc 100644
(file)
--- a/
gcc/cccp.c
+++ b/
gcc/cccp.c
@@
-1030,7
+1030,9
@@
main (argc, argv)
}
#endif /* RLIMIT_STACK defined */
+#ifdef SIGPIPE
signal (SIGPIPE, pipe_closed);
+#endif
p = argv[0] + strlen (argv[0]);
while (p != argv[0] && p[-1] != '/') --p;