wait: Make sure WIFSIGNALED(s) is false if WIFCONTINUED(s) is true.
This commit is contained in:
parent
7c0af95a13
commit
f24deb02bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254218
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user