kumquat-buildroot/package/portmap/portmap-4.0-sigpipe.patch

13 lines
353 B
Diff
Raw Normal View History

2004-11-11 15:25:10 +01:00
--- portmap_4/portmap.c.sigpipe Sun Feb 11 17:45:11 2001
+++ portmap_4/portmap.c Sun Feb 11 17:45:51 2001
@@ -228,6 +228,9 @@
#else
(void)signal(SIGCHLD, reap);
#endif
+ /* Dying on SIGPIPE doesn't help anyone */
+ (void)signal(SIGPIPE, SIG_IGN);
+
svc_run();
syslog(LOG_ERR, "run_svc returned unexpectedly");
abort();