Changeset 2518 for branches/libc-0.6


Ignore:
Timestamp:
Feb 4, 2006, 7:00:39 PM (20 years ago)
Author:
bird
Message:

#33: Fixed a runpath in libc_back_signalWait which didn't reacquire the semaphore.

Location:
branches/libc-0.6/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/ChangeLog.LIBC

    r2517 r2518  
    99        o #25: Ensure correct address length returns from recvmsg and recvfrom.
    1010    - libc:
     11        o #33: Fixed a return path in __libc_back_signalWait which didn't reacquire the semaphore.
    1112        o #32: Fixed incorrect readdir_r return code when out of files.
    1213
  • branches/libc-0.6/src/emx/src/lib/sys/signals.c

    r2427 r2518  
    29672967        if (*pfDone)
    29682968        {
    2969             rc = -EINTR;
     2969            rc = __libc_back_signalSemRequest();
     2970            if (!rc)
     2971                rc = -EINTR;
    29702972            break;
    29712973        }
     
    29752977         * We returned from the wait, but did we do so for the right reason?
    29762978         */
    2977         if (__libc_back_signalSemRequest())
    2978             rc = -EDEADLK;
     2979        int rc2 = __libc_back_signalSemRequest();
     2980        if (rc2 < 0)
     2981            rc = rc2;
    29792982        else if (*pfDone)
    29802983            rc = -EINTR;
Note: See TracChangeset for help on using the changeset viewer.