Author: jilles
Date: Sun Aug 11 14:15:01 2013
New Revision: 254218
URL: http://svnweb.freebsd.org/changeset/base/254218

Log:
  wait: Make sure WIFSIGNALED(s) is false if WIFCONTINUED(s) is true.

Modified:
  head/sys/sys/wait.h

Modified: head/sys/sys/wait.h
==============================================================================
--- head/sys/sys/wait.h Sun Aug 11 13:57:14 2013        (r254217)
+++ head/sys/sys/wait.h Sun Aug 11 14:15:01 2013        (r254218)
@@ -53,7 +53,7 @@
 #define        _WSTOPPED       0177            /* _WSTATUS if process is 
stopped */
 #define        WIFSTOPPED(x)   (_WSTATUS(x) == _WSTOPPED)
 #define        WSTOPSIG(x)     (_W_INT(x) >> 8)
-#define        WIFSIGNALED(x)  (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
+#define        WIFSIGNALED(x)  (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0 
&& (x) != 0x13)
 #define        WTERMSIG(x)     (_WSTATUS(x))
 #define        WIFEXITED(x)    (_WSTATUS(x) == 0)
 #define        WEXITSTATUS(x)  (_W_INT(x) >> 8)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to