src/winsup/cygwin ChangeLog dtable.cc
corinna@cygwin.com
corinna@cygwin.com
Mon Aug 10 15:38:00 GMT 2009
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-08-10 15:38:37
Modified files:
winsup/cygwin : ChangeLog dtable.cc
Log message:
* dtable.cc (DEV_SOCKET): New static WCHAR string. Name of
the native NT socket device.
(dtable::init_std_file_from_handle): Remove unused tmp_pathbuf
variable. Move check for sockets into FILE_TYPE_PIPE clause.
Rely on handle_to_fn having recognized socket, or check if
getsockopt works to accommodate NT4 shortcoming.
(handle_to_fn): Use tmp_pathbuf for OBJECT_NAME_INFORMATION
buffer and simplify code due to that. Check name returned by
NtQueryObject for socket device.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4616&r2=1.4617
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.202&r2=1.203
More information about the Cygwin-cvs
mailing list