* 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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user