Does anyone object to the next patch:

Index: newsyslog.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/newsyslog/newsyslog.c,v
retrieving revision 1.41
diff -u -r1.41 newsyslog.c
--- newsyslog.c 10 Apr 2002 10:38:44 -0000      1.41
+++ newsyslog.c 1 May 2002 19:15:40 -0000
@@ -38,6 +38,7 @@

 #include <ctype.h>
 #include <err.h>
+#include <errno.h>
 #include <fcntl.h>
 #include <grp.h>
 #include <paths.h>
@@ -135,6 +136,12 @@
                p = p->next;
                free((char *) q);
                q = p;
+       }
+       for (;;) {
+               if (wait(NULL) < 0) {
+                       if (errno != EINTR)
+                               break;
+               }
        }
        return (0);
 }

%%%

-- 
Maxim Konovalov, MAcomnet, Internet Dept., system engineer
phone: +7 (095) 796-9079, mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to