Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-04-04 15:24:20 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-04-04 15:24:20 +0400
commit02dbd9ae87948c48970f3e2b5639606671ac4f0b (patch)
treef48845193f9d13903408b825c8035a8784a0dc07 /winsup/cygwin/dtable.cc
parent43a6063156dd6b217bba18a1dc695a5a31fa8643 (diff)
* dtable.cc (dtable::init_std_file_from_handle): Fix a comment to
reflect the current state.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 4529aa906..b3e45483d 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -299,8 +299,9 @@ dtable::init_std_file_from_handle (int fd, HANDLE handle)
if (handle_to_fn (handle, name))
dev.parse (name);
else if (strcmp (name, ":sock:") == 0
- /* On NT4, NtQueryObject returns STATUS_NOT_IMPLEMENTED when
- called for a socket handle. */
+ /* NtQueryObject returns an error when called on an LSP socket
+ handle. While fdsock now tries to fetch the underlying
+ base socket, this only works on Vista and later. */
|| (strcmp (name, unknown_file) == 0
&& !::getsockopt ((SOCKET) handle, SOL_SOCKET, SO_RCVBUF,
(char *) &rcv, &len)))