summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-aq
blob: 4160f04825166de6086b0f1a3d7abdf279768496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aq,v 1.5 2011/09/22 01:20:21 christos Exp $

PR kern/43625

--- etc/cnid_dbd/cnid_metad.c.orig	2011-08-31 02:11:34.000000000 -0400
+++ etc/cnid_dbd/cnid_metad.c	2011-09-21 10:49:57.000000000 -0400
@@ -548,7 +548,7 @@
     while (1) {
         rqstfd = usockfd_check(srvfd, &set);
         /* Collect zombie processes and log what happened to them */
-        if (sigchild) while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
+        while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
             for (i = 0; i < maxvol; i++) {
                 if (srv[i].pid == pid) {
                     srv[i].pid = 0;