* select.cc (MAKEready): Remove extraneous select_read.

This commit is contained in:
Christopher Faylor 2001-10-29 16:12:47 +00:00
parent ac19c8dcf6
commit cdd8cb1f2a
2 changed files with 4 additions and 1 deletions

View File

@ -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> 2001-10-29 Corinna Vinschen <corinna@vinschen.de>
* uinfo.cc (internal_getlogin): Set environment variable $HOME * uinfo.cc (internal_getlogin): Set environment variable $HOME

View File

@ -93,7 +93,6 @@ fhandler_##what::ready_for_read (int fd, DWORD howlong, int ignra) \
{ \ { \
select_record me (this); \ select_record me (this); \
me.fd = fd; \ me.fd = fd; \
(void) select_read (&me); \
while (select_read (&me) && !me.read_ready && \ while (select_read (&me) && !me.read_ready && \
!peek_##what (&me, ignra) && howlong == INFINITE) \ !peek_##what (&me, ignra) && howlong == INFINITE) \
if (fd >= 0 && cygheap->fdtab.not_open (fd)) \ if (fd >= 0 && cygheap->fdtab.not_open (fd)) \