aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-29 16:12:47 +0000
committerChristopher Faylor <me@cgf.cx>2001-10-29 16:12:47 +0000
commitcdd8cb1f2a53cbb3e2ce8334e3c9580cfa8cf844 (patch)
tree9b742dbbf2e6c8978be80e686cadc71b20bf6389 /winsup
parentac19c8dcf619a7bc78490800540fe45f82aa8086 (diff)
downloadnewlib-cdd8cb1f2a53cbb3e2ce8334e3c9580cfa8cf844.zip
newlib-cdd8cb1f2a53cbb3e2ce8334e3c9580cfa8cf844.tar.gz
newlib-cdd8cb1f2a53cbb3e2ce8334e3c9580cfa8cf844.tar.bz2
* select.cc (MAKEready): Remove extraneous select_read.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/select.cc1
2 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index dee6519..164ebb6 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-29 Christopher Faylor <cgf@redhat.com>
+
+ * select.cc (MAKEready): Remove extraneous select_read.
+
2001-10-29 Corinna Vinschen <corinna@vinschen.de>
* uinfo.cc (internal_getlogin): Set environment variable $HOME
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 78a18d3..489bca5 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -93,7 +93,6 @@ fhandler_##what::ready_for_read (int fd, DWORD howlong, int ignra) \
{ \
select_record me (this); \
me.fd = fd; \
- (void) select_read (&me); \
while (select_read (&me) && !me.read_ready && \
!peek_##what (&me, ignra) && howlong == INFINITE) \
if (fd >= 0 && cygheap->fdtab.not_open (fd)) \