mirror of
https://salsa.debian.org/debian/knockd
synced 2025-12-23 04:55:14 +00:00
drop reap_child_procs.patch (merged upstream)
This commit is contained in:
16
debian/patches/reap_child_procs.patch
vendored
16
debian/patches/reap_child_procs.patch
vendored
@@ -1,16 +0,0 @@
|
||||
Index: repo/src/knockd.c
|
||||
===================================================================
|
||||
--- repo.orig/src/knockd.c 2016-09-28 21:42:58.417421069 +0200
|
||||
+++ repo/src/knockd.c 2016-09-28 21:42:58.413421096 +0200
|
||||
@@ -366,8 +366,9 @@
|
||||
|
||||
void child_exit(int signum)
|
||||
{
|
||||
- /* child wants to exit, let em die */
|
||||
- wait(NULL);
|
||||
+ int status;
|
||||
+
|
||||
+ while ( waitpid( (pid_t)-1, &status, WNOHANG ) > 0 ) continue;
|
||||
return;
|
||||
}
|
||||
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1,3 +1,2 @@
|
||||
default_config.patch
|
||||
reap_child_procs.patch
|
||||
syslog_facility_daemon.patch
|
||||
|
||||
Reference in New Issue
Block a user