4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-30 19:10:36 +08:00

* fhandler_tty.cc (fhandler_tty_slave::write): Correct typo which caused

resetting of windows error to ERROR_IO_DEVICE to be ignored.
This commit is contained in:
Christopher Faylor 2000-09-18 23:46:10 +00:00
parent 9a02bdb58c
commit a3ad824178
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Sep 18 19:44:08 2000 Christopher Faylor <cgf@cygnus.com>
* fhandler_tty.cc (fhandler_tty_slave::write): Correct typo which
caused resetting of windows error to ERROR_IO_DEVICE to be ignored.
Mon Sep 18 17:15:37 2000 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* path.cc (mount_info::read_mounts): Don't delete mount entries of

View File

@ -571,7 +571,7 @@ fhandler_tty_slave::write (const void *ptr, size_t len)
case ERROR_NO_DATA:
err = ERROR_IO_DEVICE;
default:
__seterrno ();
__seterrno_from_win_error (err);
}
_raise (SIGHUP); /* FIXME: Should this be SIGTTOU? */
towrite = (DWORD) -1;