mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
This commit is contained in:
parent
6832e38a83
commit
744f194868
@ -1,3 +1,7 @@
|
||||
2012-10-15 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
|
||||
|
||||
2012-10-13 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.h (class fhandler_dev_raw): Add members devbufalloc and
|
||||
|
@ -666,7 +666,7 @@ fhandler_pty_slave::write (const void *ptr, size_t len)
|
||||
break;
|
||||
}
|
||||
|
||||
DWORD res = WriteFile (get_output_handle (), buf, n, &n, NULL);
|
||||
BOOL res = WriteFile (get_output_handle (), buf, n, &n, NULL);
|
||||
release_output_mutex ();
|
||||
if (!res)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user