From 32f0697595b97a07b17f982bb182722a80b388e7 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 5 Jan 2006 16:23:19 +0000 Subject: * cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a cygwin thread. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/spawn.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ee44a4d..676c576 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-01-05 Christopher Faylor + + * cygtls.cc (_cygtls::remove): Don't output debugging info if this + isn't a cygwin thread. + 2006-01-05 Igor Peshansky * spawn.cc (spawn_guts): Invert the argument to diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 9f96595..7919ed4 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 -- cgit v1.1