Source-Changes-HG archive

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

[src/trunk]: src/sys/sys correct the definition of WSTOPPED



details:   https://anonhg.NetBSD.org/src/rev/9293f8a00b03
branches:  trunk
changeset: 814638:9293f8a00b03
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 02 11:18:26 2016 +0000

description:
correct the definition of WSTOPPED

diffstat:

 sys/sys/wait.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 112581634093 -r 9293f8a00b03 sys/sys/wait.h
--- a/sys/sys/wait.h    Sat Apr 02 08:54:47 2016 +0000
+++ b/sys/sys/wait.h    Sat Apr 02 11:18:26 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wait.h,v 1.26 2009/01/11 02:45:56 christos Exp $       */
+/*     $NetBSD: wait.h,v 1.27 2016/04/02 11:18:26 christos Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993, 1994
@@ -79,6 +79,7 @@
 #define WNOHANG                0x00000001      /* don't hang in wait */
 #define WUNTRACED      0x00000002      /* tell about stopped,
                                           untraced children */
+#define        WSTOPPED        WUNTRACED       /* SUS compatibility */
 #if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)
 #define        WALTSIG         0x00000004      /* wait for processes that exit
                                           with an alternate signal (i.e.
@@ -163,7 +164,6 @@
 #define w_stopval      w_S.w_Stopval
 #define w_stopsig      w_S.w_Stopsig
 
-#define        WSTOPPED        _WSTOPPED
 #endif /* _XOPEN_SOURCE || _NETBSD_SOURCE */
 
 #ifndef _KERNEL



Home | Main Index | Thread Index | Old Index