CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]      2002-07-06 04:16:10

Modified files:
        winsup/cygwin  : ChangeLog fhandler.h fhandler_socket.cc net.cc 
                         select.cc 

Log message:
        * fhandler.h (fhandler_socket::is_unconnected): Constify.
        (fhandler_socket::is_connect_pending): Ditto.
        (fhandler_socket::is_connected): Ditto.
        (fhandler_socket::set_connect_state): New method.
        (struct select_record): Add member `except_on_write'.
        (select_record::select_record): Initialize all bool values to `false'.
        * fhandler_socket.cc: Use set_connect_state() method throughout.
        (fhandler_socket::connect): Set state always to connected if connection
        isn't pending.
        * net.cc (cygwin_getsockopt): Revert erroneous previous patch.
        * select.cc (set_bits): Check for `except_on_write'.  Set fd in
        write_fds if set.  Set connect state to connected if fd has been
        returned by WINSOCK_SELECT.
        (peek_socket): Check for `except_on_write'.
        (start_thread_socket): Ditto.
        (fhandler_socket::select_write): Don't set `write_ready' if connect
        is pending.  Set `except_on_write' if connect is pending.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1376&r2=1.1377
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.128&r2=1.129
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.53&r2=1.54
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&r1=1.117&r2=1.118
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&r1=1.73&r2=1.74

Reply via email to