* fhandler.h: Change Windows 'BOOL's to c++ 'bool's for all variables.

* select.cc (fhandler_base::ready_for_read): Set read_ready to zero prior to
testing it or it will be uninitialized.
* Makefile.in (CFLAGS): Move setting to Makefile.common.
This commit is contained in:
Christopher Faylor
2001-11-02 04:44:06 +00:00
parent 53f0029081
commit 0378d00f52
4 changed files with 21 additions and 12 deletions

View File

@@ -1074,6 +1074,7 @@ fhandler_base::ready_for_read (int fd, DWORD howlong, int ignra)
{
int avail = 0;
select_record me (this);
me.read_ready = false;
me.fd = fd;
while (!avail)
{