* sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE by

calling new strace::activate function.
* strace.cc (strace::activate): Rename from strace::strace.
* strace.h (strace::activate): Define new function.
(strace::strace): Call activate.
This commit is contained in:
Christopher Faylor
2010-03-31 18:06:02 +00:00
parent e446d6d0f4
commit bc3f0d64c9
4 changed files with 13 additions and 2 deletions

View File

@ -39,7 +39,8 @@ class strace
void write (unsigned category, const char *buf, int count);
unsigned char _active;
public:
strace ();
void activate ();
strace () {activate ();}
int microseconds ();
int version;
int lmicrosec;