summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/select.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index e9dac26ce..2b1d6c438 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -517,10 +517,6 @@ out:
s->write_ready = false;
else
{
-#if 0
-/* FIXME: This code is not quite correct. There's no better solution
- so far but to make simple assumptions based on WriteQuotaAvailable. */
-
IO_STATUS_BLOCK iosb = {0};
FILE_PIPE_LOCAL_INFORMATION fpli = {0};
@@ -562,9 +558,6 @@ out:
fpli.WriteQuotaAvailable);
gotone += s->write_ready = true;
}
-#else
- gotone += s->write_ready = true;
-#endif
}
}