Changeset 2437 for trunk


Ignore:
Timestamp:
Nov 13, 2005, 12:50:29 PM (20 years ago)
Author:
bird
Message:

Fixed a generic error handling bug in ioctl, write, read, dup and dup which was causing incorrect errnos.

Location:
trunk/src/emx
Files:
6 edited

Legend:

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

    r2436 r2437  
    88          Kudos to Yuri for tracking down the places which required attention.
    99    - libc:
     10        o Fixed a generic error handling bug in ioctl, write, read, dup and dup
     11          which was causing incorrect errnos.
     12        o Changed line buffer from 512 to 8192 bytes in _response().
    1013        o Corrected shmat to return -1 instead of NULL on failure.
    1114        o Fixed bug in the sigsuspend (includes pause ++) handling,
  • trunk/src/emx/src/lib/sys/__chmod.c

    r2436 r2437  
    2121{
    2222    LIBCLOG_ENTER("pszPath=%s flag=%#x attr=%#x\n", pszPath, flag, attr);
    23     ULONG       rc;
     23    int         rc;
    2424    int         cch;
    2525    FILESTATUS3 info;
  • trunk/src/emx/src/lib/sys/__dup.c

    r2436 r2437  
    2020    PLIBCFH     pFH;
    2121    int         fhNew;
    22     ULONG       rc;
     22    int         rc;
    2323
    2424    /*
  • trunk/src/emx/src/lib/sys/__dup2.c

    r2436 r2437  
    2020    PLIBCFH     pFH;
    2121    PLIBCFH     pFHNew;
    22     ULONG       rc;
     22    int         rc;
    2323
    2424    /*
     
    130130    return fhNew;
    131131}
     132
  • trunk/src/emx/src/lib/sys/__read.c

    r2436 r2437  
    1818int __read (int handle, void *buf, size_t cbToRead)
    1919{
    20     ULONG   rc;
     20    int     rc;
    2121    PLIBCFH pFH;
    2222    ULONG   cbRead;
  • trunk/src/emx/src/lib/sys/__write.c

    r2436 r2437  
    1919{
    2020    PLIBCFH pFH;
    21     ULONG   rc;
     21    int     rc;
    2222    ULONG   cbWritten;
    2323    FS_VAR();
Note: See TracChangeset for help on using the changeset viewer.