Date: Sun, 11 Aug 2013 14:15:01 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254218 - head/sys/sys Message-ID: <201308111415.r7BEF1Pt073064@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308111415.r7BEF1Pt073064>