summaryrefslogtreecommitdiffstats
path: root/package/portmap/portmap-4.0-sigpipe.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-11 14:25:10 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-11 14:25:10 +0000
commitdb13d321d6566c8937a7dbf872d4b4410a9d79ae (patch)
treebffd8ba57a597a2a93dcf1aa37cf9e010c510c96 /package/portmap/portmap-4.0-sigpipe.patch
parentb4176386f4c05fd95250ba151e9b26d568b9f878 (diff)
downloadbuildroot-novena-db13d321d6566c8937a7dbf872d4b4410a9d79ae.tar.gz
buildroot-novena-db13d321d6566c8937a7dbf872d4b4410a9d79ae.zip
portmap
Diffstat (limited to 'package/portmap/portmap-4.0-sigpipe.patch')
-rw-r--r--package/portmap/portmap-4.0-sigpipe.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/portmap/portmap-4.0-sigpipe.patch b/package/portmap/portmap-4.0-sigpipe.patch
new file mode 100644
index 000000000..dba7cf4bb
--- /dev/null
+++ b/package/portmap/portmap-4.0-sigpipe.patch
@@ -0,0 +1,12 @@
+--- 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();