tries to determine when a pipe is writable.
+2009-06-29 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * select.cc (peek_pipe): Turn on (temporarily?) the experimental code
+ which tries to determine when a pipe is writable.
+
2009-06-28 Christopher Faylor <me+cygwin@cgf.cx>
* select.cc (peek_pipe): Use has_ongoing_io() to determine if the pipe
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};
fpli.WriteQuotaAvailable);
gotone += s->write_ready = true;
}
-#else
- gotone += s->write_ready = true;
-#endif
}
}