diff options
author | Christopher Faylor <me@cgf.cx> | 2012-07-30 03:44:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-07-30 03:44:40 +0000 |
commit | d239805457f0dc790559b2173e943e5aebe90c4e (patch) | |
tree | a015664429e36ad8caa921deb24e5202d442bf34 /winsup/cygwin/fhandler_tty.cc | |
parent | c1a11ccfca40ec5d162caf747bca94d9b698c34e (diff) | |
download | newlib-d239805457f0dc790559b2173e943e5aebe90c4e.zip newlib-d239805457f0dc790559b2173e943e5aebe90c4e.tar.gz newlib-d239805457f0dc790559b2173e943e5aebe90c4e.tar.bz2 |
* cygwait.cc (cancelable_wait): Add some debugging-only output.
* exceptions.cc (sig_handle_tty_stop): Make sure that incyg is cleared when
exiting if we have no parent process. Only wait for signal_arrived.
(sigpacket::process): Make continue_now a bool. Delay sending signal_arrived
until the end. Make code more defensive to avoid calling signal handler when
stopped. Only set signal_arrived when stopped.
* sigproc.cc (sig_hold): Rename from sigCONT. Make static.
(sig_send): Accommodate sigCONT -> sig_hold rename.
(wait_sig): Ditto.
* sigproc.h (sigCONT): Delete declaration.
* fhandler_console.cc (fhandler_console::write): Use new '%0c' facility to
print characters. Change to paranoid to avoid excessive strace output.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Make frequent strace
printf "paranoid" to help cut down on strace output size.
* signal.cc (sigsuspend): Add standard syscall strace output.
(sigpause): Ditto.
(pause): Ditto.
* cygtls.h (_cygtls::reset_signal_arrived): New function.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index c29d365..c5b65c5 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -176,7 +176,7 @@ fhandler_pty_master::accept_input () DWORD rc; DWORD written = 0; - termios_printf ("about to write %d chars to slave", bytes_left); + paranoid_printf ("about to write %d chars to slave", bytes_left); rc = WriteFile (get_output_handle (), p, bytes_left, &written, NULL); if (!rc) { |