diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-19 19:27:27 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-19 19:27:27 +0400 |
commit | 03a2ce9a3623dddc5ff7db9a3c18e2eb359e4afe (patch) | |
tree | b19c8c77cda62398c18f8b127a7347096f0af86e /winsup/cygwin/pinfo.cc | |
parent | 834224ab85c94d4764d67670a880484ce0785a62 (diff) |
Use hMainProc where appropriate, throughout.
* environ.cc (spenv::retrieve): Add debugging statements.
* pinfo.cc (set_myself): Don't call strace.hello if already stracing.
* strace.cc (strace): Move NO_COPY keyword so that it will actually take
effect.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 44ca1df46..90c87c173 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -63,7 +63,8 @@ set_myself (pid_t pid, HANDLE h) (void) GetModuleFileName (NULL, myself->progname, sizeof(myself->progname)); - strace.hello (); + if (!strace.active) + strace.hello (); return; } |