This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog dtable.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 10 Aug 2009 15:38:37 -0000
- Subject: src/winsup/cygwin ChangeLog dtable.cc
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