mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 11:00:41 +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:
parent
9a02bdb58c
commit
a3ad824178
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user