diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-02 04:44:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-02 04:44:06 +0000 |
commit | 0378d00f5245173fd47655534aa80d4cd751688f (patch) | |
tree | 9057829650ef0cbffb25c5e108c8060eaeb330e9 /winsup/cygwin/select.cc | |
parent | 53f00290819bd294d31d12bb93e8e5e887ad3aef (diff) | |
download | cygnal-0378d00f5245173fd47655534aa80d4cd751688f.tar.gz cygnal-0378d00f5245173fd47655534aa80d4cd751688f.tar.bz2 cygnal-0378d00f5245173fd47655534aa80d4cd751688f.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r-- | winsup/cygwin/select.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index bcfc56f02..1ba3ef3d8 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -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) { |