Changeset 2529 for branches/libc-0.6


Ignore:
Timestamp:
Feb 5, 2006, 5:07:33 AM (20 years ago)
Author:
bird
Message:

Fixed incorrect assertion in libc_back_fsInfoObjRelease.

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

Legend:

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

    r2526 r2529  
    1212        o #25: Ensure correct address length returns from recvmsg and recvfrom.
    1313    - libc:
     14        o Fixed incorrect assertion in __libc_back_fsInfoObjRelease.
    1415        o #41: And added special file mode mask getter and extra validations to check that
    1516          the mode mask we read has a valid type. This also shuts up some bad [f]chmod paths.
  • branches/libc-0.6/src/emx/src/lib/sys/fs.c

    r2528 r2529  
    18241824    {
    18251825        int cRefs = __atomic_decrement_s32(&pFsInfo->cRefs);
    1826         LIBC_ASSERT(cRefs > 1); (void)cRefs;
     1826        LIBC_ASSERT(cRefs >= 1); (void)cRefs;
    18271827    }
    18281828}
Note: See TracChangeset for help on using the changeset viewer.