diff options
author | Christopher Faylor <me@cgf.cx> | 2012-10-15 18:36:48 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-10-15 18:36:48 +0400 |
commit | 744f194868978d333c59c564737b364c8140b863 (patch) | |
tree | 7793ec8e2ea891dfef6b76236084b14528024dba | |
parent | 6832e38a83a62df800585ee0f0b6dff93e76ac03 (diff) |
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a745d7285..e05af490b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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 diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index dccbf13ea..954fd6622 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -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) { |