This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler_socket.cc ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 11 May 2011 08:20:18 -0000
- Subject: src/winsup/cygwin ChangeLog fhandler_socket.cc ...
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2011-05-11 08:20:17
Modified files:
winsup/cygwin : ChangeLog fhandler_socket.cc syslog.cc
Log message:
* fhandler_socket.cc (get_inet_addr): Rearrange for better readability.
Make waiting loop interruptible and cancelable. Check for SYSTEM DOS
flag before reading the file. Change return value to return 0 on
success, SOCKET_ERROR on failure.
(fhandler_socket::bind): Only set R/O DOS flag on filesystems not
supporting ACLs.
(fhandler_socket::connect): Accommodate changed return values from
get_inet_addr. Use SOCKET_ERROR instead of -1.
(fhandler_socket::sendto): Accommodate changed return values from
get_inet_addr.
* syslog.cc (connect_syslogd): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5337&r2=1.5338
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.274&r2=1.275
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syslog.cc.diff?cvsroot=src&r1=1.51&r2=1.52