From 5f167ed48d5af445dfc263f6d02c36c4f38507c4 Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Thu, 3 Mar 2005 13:30:48 +0000 Subject: [PATCH] - Add missing patch (present in the update the submitter sent). PR: ports/78360 Submitted by: Lars Hoss Approved by: pav (mentor) Pointyhat to: flz --- www/lighttpd/files/patch-src::server.c | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 www/lighttpd/files/patch-src::server.c diff --git a/www/lighttpd/files/patch-src::server.c b/www/lighttpd/files/patch-src::server.c new file mode 100644 index 000000000000..28ec3bdab3d1 --- /dev/null +++ b/www/lighttpd/files/patch-src::server.c @@ -0,0 +1,38 @@ +--- src/server.c.orig Thu Mar 3 10:59:28 2005 ++++ src/server.c Thu Mar 3 10:59:48 2005 +@@ -71,7 +71,7 @@ + case SIGTERM: srv_shutdown = 1; break; + case SIGALRM: handle_sig_alarm = 1; break; + case SIGHUP: handle_sig_hup = 1; break; +- case SIGCLD: break; ++ case SIGCHLD: break; + } + } + #elif defined(HAVE_SIGNAL) || defined(HAVE_SIGACTION) +@@ -80,7 +80,7 @@ + case SIGTERM: srv_shutdown = 1; break; + case SIGALRM: handle_sig_alarm = 1; break; + case SIGHUP: handle_sig_hup = 1; break; +- case SIGCLD: break; ++ case SIGCHLD: break; + } + } + #endif +@@ -686,7 +686,7 @@ + sigaction(SIGTERM, &act, NULL); + sigaction(SIGHUP, &act, NULL); + sigaction(SIGALRM, &act, NULL); +- sigaction(SIGCLD, &act, NULL); ++ sigaction(SIGCHLD, &act, NULL); + + #elif defined(HAVE_SIGNAL) + /* ignore the SIGPIPE from sendfile() */ +@@ -695,7 +695,7 @@ + signal(SIGALRM, signal_handler); + signal(SIGTERM, signal_handler); + signal(SIGHUP, signal_handler); +- signal(SIGCLD, signal_handler); ++ signal(SIGCHLD, signal_handler); + #endif + + #ifdef USE_ALARM