Changeset 3776 for branches


Ignore:
Timestamp:
Mar 22, 2012, 1:19:05 PM (13 years ago)
Author:
bird
Message:

read/fhOs2FileWrite: Translate ERROR_PIPE_NOT_CONNECTED when returned by DosRead to a 0 byte read / EOF indicator. Only named pipes will return this status and only when the pipe was actively disconnected. Fixes #247.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/src/lib/sys/__read.c

    r2647 r3776  
    8686    if (rc)
    8787    {
     88        if (rc == ERROR_PIPE_NOT_CONNECTED)
     89            LIBCLOG_RETURN_MSG(0, "ret 0 [pipe-disconnect]\n");
    8890        if (rc > 0)
    8991            rc = -__libc_native2errno(rc);
Note: See TracChangeset for help on using the changeset viewer.