* cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a

cygwin thread.
This commit is contained in:
Christopher Faylor
2006-01-05 16:23:19 +00:00
parent c29df6c375
commit 32f0697595
2 changed files with 6 additions and 1 deletions

View File

@ -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