wait: Make sure WIFSIGNALED(s) is false if WIFCONTINUED(s) is true.
This commit is contained in:
parent
3a574dd0d6
commit
dfbec9669f
@ -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…
x
Reference in New Issue
Block a user