Changeset 2432


Ignore:
Timestamp:
Nov 13, 2005, 3:41:06 AM (20 years ago)
Author:
bird
Message:

Corrected shmat to return -1 instead of NULL on failure.

Location:
trunk/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/ChangeLog.LIBC

    r2431 r2432  
    552005-11-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    66    - emxomf:
    7         o Fixed problems with symbol truncation. 
     7        o Fixed problems with symbol truncation.
    88          Kudos to Yuri for tracking down the places which required attention.
    99    - libc:
     10        o Corrected shmat to return -1 instead of NULL on failure.
    1011        o Fixed bug in the sigsuspend (includes pause ++) handling,
    1112          would usually never return.
  • trunk/src/emx/src/lib/process/shmat.c

    r2431 r2432  
    5050        LIBCLOG_RETURN_P(pvActual);
    5151    errno = -rc;
    52     LIBCLOG_ERROR_RETURN_P(NULL);
     52    LIBCLOG_ERROR_RETURN_P((void *)-1);
    5353}
    5454
Note: See TracChangeset for help on using the changeset viewer.