diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-16 23:28:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-16 23:28:03 +0000 |
commit | 1ed95be609c9af283fe0c1b21b760b3abc0792f8 (patch) | |
tree | f66a56ac47a1bcf0e3fc9090cb96da31f51d0608 /winsup/cygwin/exceptions.cc | |
parent | 0c3966ac4e4452bf2c38385291dfefc70b3f53d5 (diff) | |
download | newlib-1ed95be609c9af283fe0c1b21b760b3abc0792f8.zip newlib-1ed95be609c9af283fe0c1b21b760b3abc0792f8.tar.gz newlib-1ed95be609c9af283fe0c1b21b760b3abc0792f8.tar.bz2 |
* exceptions.cc (set_signal_mask): Report on input argument rather than
getsigmask.
* fhandler.h (fhandler_base): Make friends with close_all_files.
* pinfo.cc (_pinfo::set_ctty): Add more debugging.
* sigproc.cc (proc_can_be_signalled): Detect state when signal handler thread
is gone in target process as an EPERM situation. Set errno to ESRCH if process
doesn't exist.
(sigproc_terminate): Set sendsig to illegal value when closed.
(sig_send): Rely on proc_can_be_signalled setting the proper errno.
* syscalls.cc (close_all_files): Detect when all ttys are closed prior to
calling close_all_files. The ctty needs to be closed explicitly in this case.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 29323ae..341ae73 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -978,7 +978,7 @@ set_signal_mask (sigset_t newmask, sigset_t& oldmask) { mask_sync->acquire (INFINITE); newmask &= ~SIG_NONMASKABLE; - sigproc_printf ("old mask = %x, new mask = %x", myself->getsigmask (), newmask); + sigproc_printf ("old mask %p, new mask %p", oldmask, newmask); myself->setsigmask (newmask); // Set a new mask mask_sync->release (); if (oldmask & ~newmask) |