diff options
author | Christopher Faylor <me@cgf.cx> | 2002-02-14 21:20:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-02-14 21:20:06 +0000 |
commit | 907dc7d0c9f64d95b6d4da91dab6601d0e6054ec (patch) | |
tree | 09bc7dae25c4c1f67767dfc04fb1ee4c3a08c371 /winsup/cygwin/external.cc | |
parent | 27530c31810976dec063f8ffdc6709945dfcef39 (diff) | |
download | newlib-907dc7d0c9f64d95b6d4da91dab6601d0e6054ec.zip newlib-907dc7d0c9f64d95b6d4da91dab6601d0e6054ec.tar.gz newlib-907dc7d0c9f64d95b6d4da91dab6601d0e6054ec.tar.bz2 |
* exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to asm.
* external.cc (cygwin_internal): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
* strace.cc (strace::hello): Toggle strace on and off.
* sync.cc (muto::init): Renamed from constructor.
* sync.h (muto::new): Delete.
(muto::delete): Ditto.
(new_muto): Simplify. Use muto.init for nearly everything.
* uinfo.cc (uinfo_init): Avoid closing a NULL handle.
* include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to
CW_STRACE_TOGGLE. Delete CW_STRACE_OFF.
* include/sys/strace.h (strace): Add "inited" field.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r-- | winsup/cygwin/external.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 8a9f3bf..3892559 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -206,7 +206,7 @@ cygwin_internal (cygwin_getinfo_types t, ...) # undef cr } - case CW_STRACE_ON: + case CW_STRACE_TOGGLE: { pid_t pid = va_arg (arg, pid_t); pinfo p (pid); @@ -221,6 +221,7 @@ cygwin_internal (cygwin_getinfo_types t, ...) return (DWORD) -1; } } + case CW_CYGWIN_PID_TO_WINPID: { pinfo p (va_arg (arg, pid_t)); |