summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/spawn.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-05 16:23:19 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-05 16:23:19 +0000
commit32f0697595b97a07b17f982bb182722a80b388e7 (patch)
tree6bd96c9d52f581e8706064e434b2df25ce3043c2 /winsup/cygwin/spawn.cc
parentc29df6c37535e0febb33bd2343c4693125cc3e04 (diff)
downloadcygnal-32f0697595b97a07b17f982bb182722a80b388e7.tar.gz
cygnal-32f0697595b97a07b17f982bb182722a80b388e7.tar.bz2
cygnal-32f0697595b97a07b17f982bb182722a80b388e7.zip
* cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a
cygwin thread.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index 9f9659501..7919ed4b2 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -617,7 +617,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
else
system_printf ("duplicate to pid_handle failed, %E");
if (mode != _P_DETACH)
- set_console_state_for_spawn (real_path.iscygexec ());
+ set_console_state_for_spawn (!real_path.iscygexec ());
}
/* Some file types (currently only sockets) need extra effort in the parent