[ros-diffs] [gschneider] 42523: Remove temporary debug code, crash was fixed by r42506 and r42517

gschneider at svn.reactos.org gschneider at svn.reactos.org
Sat Aug 8 18:24:22 CEST 2009


Author: gschneider
Date: Sat Aug  8 18:24:22 2009
New Revision: 42523

URL: http://svn.reactos.org/svn/reactos?rev=42523&view=rev
Log:
Remove temporary debug code, crash was fixed by r42506 and r42517

Modified:
    trunk/rostests/winetests/msvcrt/time.c

Modified: trunk/rostests/winetests/msvcrt/time.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msvcrt/time.c?rev=42523&r1=42522&r2=42523&view=diff
==============================================================================
--- trunk/rostests/winetests/msvcrt/time.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/msvcrt/time.c [iso-8859-1] Sat Aug  8 18:24:22 2009
@@ -31,9 +31,6 @@
 #define SECSPERMIN         60
 #define MINSPERHOUR        60
 #define HOURSPERDAY        24
-
-#define NDEBUG
-#include <debug.h>
 
 static int get_test_year(time_t *start)
 {
@@ -83,12 +80,11 @@
     char buffer[64];
     int year;
     time_t ref, secs;
-DPRINT1("Entered test_mktime, getting test year\n");
+
     year = get_test_year( &ref );
     ref += SECSPERDAY;
-DPRINT1("Checking return value, testyear=%d, ref=%ld\n", year, ref);
+
     ok (res != TIME_ZONE_ID_INVALID, "GetTimeZoneInformation failed\n");
-DPRINT1("Converting StdName, tzi=%p, res=%ld\n", (char*)&tzinfo, res);
     WideCharToMultiByte( CP_ACP, 0, tzinfo.StandardName, -1, buffer, sizeof(buffer), NULL, NULL );
     trace( "bias %d std %d dst %d zone %s\n",
            tzinfo.Bias, tzinfo.StandardBias, tzinfo.DaylightBias, buffer );
@@ -288,10 +284,8 @@
 
 START_TEST(time)
 {
-#if 0
     test_ctime();
     test_gmtime();
-#endif
     test_mktime();
     test_localtime();
     test_strdate();




More information about the Ros-diffs mailing list