* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value in

switch statement.
This commit is contained in:
Christopher Faylor 2011-12-21 18:34:57 +00:00
parent f500a700b1
commit 8176232ddc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-21 Christopher Faylor <me.cygwin2011@cgf.cx>
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct
value in switch statement.
2011-12-11 Corinna Vinschen <vinschen@redhat.com>
* dcrt0.cc (_dll_crt0): Rephrase comments. Set $ebp to NULL, as in

View File

@ -1931,7 +1931,7 @@ fhandler_base_overlapped::wait_overlapped (bool inres, bool writing, DWORD *byte
BOOL wores;
if (isclosed ())
{
switch (err)
switch (wfres)
{
case WAIT_OBJECT_0:
err = ERROR_INVALID_HANDLE;