]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Aug 2001 07:41:45 +0000 (07:41 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Aug 2001 07:41:45 +0000 (07:41 +0000)
commit6a574f1ad6df42447a242b521c3bdc9e9039910c
treeae49f1fb41c40a10c1ab7e97240d0eb3b89fb265
parent52c80be81471afa563671b5b78e8de702faa54d6
    * fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define.
        * fhandler.h: Move definitions of O_NOSYMLINK, O_DIROPEN and
        OLD_O_NDELAY from winsup.h to here. Add O_NONBLOCK_MASK define.
        * fhandler_socket.cc (fhandler_socket::close): Add hack to allow
        a graceful shutdown even if shutdown() hasn't been called by the
        application. Add debug output.
        (fhandler_socket::ioctl): Set fhandler's NONBLOCK flag according
        to FIONBIO setting.
        (fhandler_socket::fcntl): Use new O_NONBLOCK_MASK define. Actually
        set `request' before using it.
        * fhandler_tty.cc: Use new O_NONBLOCK_MASK define throughout.
        (fhandler_tty_slave::ioctl): Set fhandler's NONBLOCK flag according
        to FIONBIO setting.
        (fhandler_pty_master::ioctl): Ditto.
        * net.cc (wsock_event::prepare): Compare WSACreateEvent return code
        with `WSA_INVALID_EVENT' according to MSDN.
        * syscalls.cc (_read): Use new O_NONBLOCK_MASK define.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_socket.cc
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/net.cc
winsup/cygwin/syscalls.cc
winsup/cygwin/winsup.h
This page took 0.030553 seconds and 5 git commands to generate.