From badc4941651e38bda79e6a6058591e9cf235830a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 20 Feb 2006 02:06:37 +0000 Subject: [PATCH] revert erroneous checkin --- winsup/cygwin/dcrt0.cc | 12 ------------ winsup/cygwin/timer.cc | 1 - 2 files changed, 13 deletions(-) diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index a1cacc86c..8122939b6 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -124,18 +124,6 @@ extern "C" #endif }; -#ifdef DEBUGGING -void __stdcall -envvar () -{ - const char *s = "PATH"; - char buf[4096]; - Sleep (500); - small_printf ("%d = GetEnvironmentVariable (\"%s\")\n", GetEnvironmentVariable (s, buf, sizeof buf), s); - small_printf ("value = '%s'\n", buf); -} -#endif - char *old_title; char title_buf[TITLESIZE + 1]; diff --git a/winsup/cygwin/timer.cc b/winsup/cygwin/timer.cc index f9205f413..7dea7ea69 100644 --- a/winsup/cygwin/timer.cc +++ b/winsup/cygwin/timer.cc @@ -74,7 +74,6 @@ timer_tracker::cancel () SetEvent (hcancel); if (WaitForSingleObject (syncthread, INFINITE) != WAIT_OBJECT_0) api_fatal ("WFSO failed waiting for timer thread, %E"); - debug_printf ("cancelled"); return true; }