diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-08-10 15:38:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-08-10 15:38:37 +0000 |
commit | 019fc8d880d09840264000860ef768ef6effed3c (patch) | |
tree | 0dfbb460d8a1aa8df4df3daf85b217c701ba93f1 /winsup/cygwin/spawn.cc | |
parent | 78d959ce6f7425580a4f1bdefef3bc4a8cfc29ff (diff) | |
download | cygnal-019fc8d880d09840264000860ef768ef6effed3c.tar.gz cygnal-019fc8d880d09840264000860ef768ef6effed3c.tar.bz2 cygnal-019fc8d880d09840264000860ef768ef6effed3c.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
0 files changed, 0 insertions, 0 deletions