OSDN Git Service

* fhandler_socket.cc: Revert misguided attempt to handle FD_CLOSE error
authorcorinna <corinna>
Thu, 27 Jul 2006 13:58:53 +0000 (13:58 +0000)
committercorinna <corinna>
Thu, 27 Jul 2006 13:58:53 +0000 (13:58 +0000)
commit6f72fba070444e3c3b2b401933ea8e22b3799d8c
tree98a784fa300c261a2c2753b9ede91f36e6f097c4
parenta603bd2077a2f9de09541b33ce86558781ae662b
* fhandler_socket.cc: Revert misguided attempt to handle FD_CLOSE error
conditions in evaluate_events.
(search_wsa_event_slot): Move wrongly placed memset in
fhandler_socket::init_events here.
(fhandler_socket::init_events): Initially set FD_WRITE event for
connectionless sockets.
* poll.cc (poll): Don't add sockets always to except_fds since select
is now supposed to do it right.
* select.cc (set_bits): Set connection state correctly for failed
af_local_connect on local sockets.  Remove socket special handling
for except_selected descriptors.
(peek_socket): Try to set the read/write/exception bits actually
correctly.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_socket.cc
winsup/cygwin/poll.cc
winsup/cygwin/select.cc