summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk/patches/patch-aq')
-rw-r--r--net/netatalk/patches/patch-aq10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/netatalk/patches/patch-aq b/net/netatalk/patches/patch-aq
index 4cc54a45287..4160f048251 100644
--- a/net/netatalk/patches/patch-aq
+++ b/net/netatalk/patches/patch-aq
@@ -1,15 +1,15 @@
-$NetBSD: patch-aq,v 1.4 2010/07/19 21:21:25 markd Exp $
+$NetBSD: patch-aq,v 1.5 2011/09/22 01:20:21 christos Exp $
PR kern/43625
---- etc/cnid_dbd/cnid_metad.c.orig 2010-04-29 09:17:50.000000000 +0000
-+++ etc/cnid_dbd/cnid_metad.c
-@@ -541,7 +541,7 @@ int main(int argc, char *argv[])
+--- 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 < MAXVOLS; i++) {
+ for (i = 0; i < maxvol; i++) {
if (srv[i].pid == pid) {
srv[i].pid = 0;