* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value in
switch statement.
This commit is contained in:
parent
f500a700b1
commit
8176232ddc
|
@ -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>
|
2011-12-11 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* dcrt0.cc (_dll_crt0): Rephrase comments. Set $ebp to NULL, as in
|
* dcrt0.cc (_dll_crt0): Rephrase comments. Set $ebp to NULL, as in
|
||||||
|
|
|
@ -1931,7 +1931,7 @@ fhandler_base_overlapped::wait_overlapped (bool inres, bool writing, DWORD *byte
|
||||||
BOOL wores;
|
BOOL wores;
|
||||||
if (isclosed ())
|
if (isclosed ())
|
||||||
{
|
{
|
||||||
switch (err)
|
switch (wfres)
|
||||||
{
|
{
|
||||||
case WAIT_OBJECT_0:
|
case WAIT_OBJECT_0:
|
||||||
err = ERROR_INVALID_HANDLE;
|
err = ERROR_INVALID_HANDLE;
|
||||||
|
|
Loading…
Reference in New Issue