Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc revert part of previous; not needed.



details:   https://anonhg.NetBSD.org/src/rev/d675e643c5f1
branches:  trunk
changeset: 814738:d675e643c5f1
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 06 04:09:10 2016 +0000

description:
revert part of previous; not needed.

diffstat:

 lib/libc/gen/waitid.c |  6 ++----
 lib/libc/sys/wait.2   |  9 ++-------
 2 files changed, 4 insertions(+), 11 deletions(-)

diffs (50 lines):

diff -r 9bd60922d983 -r d675e643c5f1 lib/libc/gen/waitid.c
--- a/lib/libc/gen/waitid.c     Wed Apr 06 03:52:27 2016 +0000
+++ b/lib/libc/gen/waitid.c     Wed Apr 06 04:09:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: waitid.c,v 1.3 2016/04/06 03:50:03 christos Exp $      */
+/*     $NetBSD: waitid.c,v 1.4 2016/04/06 04:09:10 christos Exp $      */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: waitid.c,v 1.3 2016/04/06 03:50:03 christos Exp $");
+__RCSID("$NetBSD: waitid.c,v 1.4 2016/04/06 04:09:10 christos Exp $");
 
 #include "namespace.h"
 #include <sys/types.h>
@@ -57,8 +57,6 @@
                        memset(info, 0, sizeof(*info));
                /*FALLTHROUGH*/
        default:
-               if (info != NULL && info->si_signo != 0)
-                       info->si_signo = SIGCHLD;
                return 0;
        }
 }
diff -r 9bd60922d983 -r d675e643c5f1 lib/libc/sys/wait.2
--- a/lib/libc/sys/wait.2       Wed Apr 06 03:52:27 2016 +0000
+++ b/lib/libc/sys/wait.2       Wed Apr 06 04:09:10 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wait.2,v 1.30 2016/04/06 03:50:03 christos Exp $
+.\"    $NetBSD: wait.2,v 1.31 2016/04/06 04:09:10 christos Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -435,12 +435,7 @@
 .Fa si_signo
 field set to
 .Dv SIGCHLD
-for
-.Fn waitid
-as required by POSIX and to the delivering signal
-for
-.Fn wait6 .
-The
+and the
 .Fa si_pid
 field set to the process ID of the process reporting status.
 For the exited process, the



Home | Main Index | Thread Index | Old Index