17 lines
419 B
Diff
17 lines
419 B
Diff
|
diff -Naur orig/syslogd.c new/syslogd.c
|
||
|
--- orig/syslogd.c 2019-08-13 10:19:47.793362813 +0000
|
||
|
+++ new/syslogd.c 2019-08-13 10:20:35.371357537 +0000
|
||
|
@@ -2094,8 +2094,11 @@
|
||
|
(void) signal(SIGCHLD, reapchild); /* reset signal handler -ASP */
|
||
|
wait ((int *)0);
|
||
|
#else
|
||
|
+#if defined (__GLIBC__)
|
||
|
+ int status;
|
||
|
+#else
|
||
|
union wait status;
|
||
|
-
|
||
|
+#endif
|
||
|
while (wait3(&status, WNOHANG, (struct rusage *) NULL) > 0)
|
||
|
;
|
||
|
#endif
|