Commit 0e576005 by Richard Kenner

(main): Don't catch SIGPIPE if no such signal.

From-SVN: r5782
parent 65715dea
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment