Changeset 1725


Ignore:
Timestamp:
Dec 9, 2004, 9:14:35 PM (21 years ago)
Author:
bird
Message:

Fixed assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/process/wait4.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1724 r1725  
    112112        {
    113113            default:
    114                 LIBC_ASSERTM_FAILED("Invalid si_code=%d\n", SigInfo.si_code);
     114                LIBC_ASSERTM((fOptions & WNOHANG) && !SigInfo.si_code && !SigInfo.si_status,
     115                             "Invalid si_code=%#x si_status=%#x fOptions=%#x\n", SigInfo.si_code, SigInfo.si_status, fOptions);
    115116            case CLD_EXITED:    iStatus = W_EXITCODE(SigInfo.si_status, 0); break;
    116117            case CLD_KILLED:    iStatus = W_EXITCODE(0, SigInfo.si_status); break;
Note: See TracChangeset for help on using the changeset viewer.