Ignore:
Timestamp:
Jul 3, 2005, 10:56:24 AM (20 years ago)
Author:
bird
Message:

Fixed some waitid() and waitpid() problems related to stopping and resuming children.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/wait.h

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r2194 r2195  
    5656#define WIFSTOPPED(x)   (_WSTATUS(x) == _WSTOPPED)
    5757#define WSTOPSIG(x)     (_W_INT(x) >> 8)
    58 #define WIFSIGNALED(x)  (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
     58#define WIFSIGNALED(x)  (_WSTATUS(x) != 0 && !WIFSTOPPED(x) && !WIFCONTINUED(x)) /* bird: made GLIBC tests happy. */
    5959#define WTERMSIG(x)     (_WSTATUS(x))
    6060#define WIFEXITED(x)    (_WSTATUS(x) == 0)
Note: See TracChangeset for help on using the changeset viewer.