From: Richard Kenner Date: Wed, 13 Oct 1993 21:55:46 +0000 (-0400) Subject: (main): Don't catch SIGPIPE if no such signal. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e57600536c63c5188163997f74b48ec1e389e5c;p=gcc.git (main): Don't catch SIGPIPE if no such signal. From-SVN: r5782 --- diff --git a/gcc/cccp.c b/gcc/cccp.c index aec4c7901a0..fee2bd40d0e 100644 --- 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;