Changeset 1771


Ignore:
Timestamp:
Jan 17, 2005, 3:49:50 AM (21 years ago)
Author:
bird
Message:

Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/tcpip.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1770 r1771  
    356356        if ((pFHSocket->core.fFlags & __LIBC_FH_TYPEMASK) == F_SOCKET)
    357357            return pFHSocket;
    358         __libc_TcpipSetErrno(ENOSYS);
     358        __libc_TcpipSetErrno(ENOTSOCK);
    359359    }
    360360    else
Note: See TracChangeset for help on using the changeset viewer.