* cygtls.cc (_cygtls::remove): Remove left over debugging cruft which caused

this function to always return prematurely.
This commit is contained in:
Christopher Faylor 2006-01-02 02:55:14 +00:00
parent 74c29a5e9a
commit 7a32aefe79
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-01-01 Christopher Faylor <cgf@timesys.com>
* cygtls.cc (_cygtls::remove): Remove left over debugging cruft which
caused this function to always return prematurely.
2006-01-01 Christopher Faylor <cgf@timesys.com>
* exceptions.cc (sigpacket::process): Pass actual reference to signal's

View File

@ -147,7 +147,7 @@ void
_cygtls::remove (DWORD wait)
{
debug_printf ("wait %p", wait);
if (1 || !isinitialized () || !locals.exitsock || exit_state >= ES_FINAL)
if (!isinitialized () || !locals.exitsock || exit_state >= ES_FINAL)
return;
if (wait)
{

View File

@ -223,9 +223,7 @@ strace::write_childpid (child_info& ch, DWORD pid)
if (!attached () || !being_debugged ())
return;
int res =
WaitForSingleObject (ch.subproc_ready, 30000);
do { if ((0x00040 & 0x08000) || active ()) prntf (0x00040, __PRETTY_FUNCTION__, "res %d", res); } while (0);
__small_sprintf (buf, "cYg%8x %x", _STRACE_CHILD_PID, pid);
OutputDebugString (buf);
}