[Glibc-bsd-commits] r2450 - trunk/glibc-ports/kfreebsd/bits
Aurelien Jarno
aurel32 at alioth.debian.org
Wed Apr 15 20:08:31 UTC 2009
Author: aurel32
Date: 2009-04-15 20:08:31 +0000 (Wed, 15 Apr 2009)
New Revision: 2450
Modified:
trunk/glibc-ports/kfreebsd/bits/waitstatus.h
Log:
More bits/waitstatus.h updates from FreeBSD headers
Modified: trunk/glibc-ports/kfreebsd/bits/waitstatus.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/waitstatus.h 2009-04-14 06:56:36 UTC (rev 2449)
+++ trunk/glibc-ports/kfreebsd/bits/waitstatus.h 2009-04-15 20:08:31 UTC (rev 2450)
@@ -22,9 +22,6 @@
#endif
-/* Everything extant so far uses these same bits. */
-
-
/* If WIFEXITED(STATUS), the low-order 8 bits of the status. */
#define __WEXITSTATUS(status) (((status) & 0xff00) >> 8)
@@ -42,7 +39,7 @@
(((signed char) (((status) & 0x7f) + 1) >> 1) > 0)
/* Nonzero if STATUS indicates the child is stopped. */
-#define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
+#define __WIFSTOPPED(status) (((status) & 0x7f) == 0x7f)
/* Nonzero if STATUS indicates the child continued after a stop. We only
define this if <bits/waitflags.h> provides the WCONTINUED flag bit. */
More information about the Glibc-bsd-commits
mailing list