OSDN Git Service

* dtable.cc (DEV_SOCKET): New static WCHAR string. Name of
authorcorinna <corinna>
Mon, 10 Aug 2009 15:38:37 +0000 (15:38 +0000)
committercorinna <corinna>
Mon, 10 Aug 2009 15:38:37 +0000 (15:38 +0000)
commit58ff05efe5413a787e8c3ba633fa44c483d7feaa
treefc0d64e1b36061e16106dcf6a7ffb3c600803142
parentdeb992f444092fc7b82fa1e9f737a0506b07ca9a
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/dtable.cc