From adb704aad401eac3fcee131563f0c7751de47367 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 22 May 1990 14:42:28 +0000 Subject: [PATCH] make GMT the default --- lang/cem/libcc.ansi/time/misc.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lang/cem/libcc.ansi/time/misc.c b/lang/cem/libcc.ansi/time/misc.c index e7cc1a485..edbe3ef0a 100644 --- a/lang/cem/libcc.ansi/time/misc.c +++ b/lang/cem/libcc.ansi/time/misc.c @@ -40,21 +40,23 @@ void _ftime(struct timeb *bp); #define TZ_LEN 10 /* Make sure that the strings do not end up in ROM. + * These strings probably contain the wrong value, and we cannot obtain the + * right value from the system. TZ is the only help. */ -static char ntstr[TZ_LEN + 1] = "MET"; /* string for normal time */ -static char dststr[TZ_LEN + 1] = "MDT"; /* string for daylight saving */ +static char ntstr[TZ_LEN + 1] = "GMT"; /* string for normal time */ +static char dststr[TZ_LEN + 1] = "GMT"; /* string for daylight saving */ -long _timezone = -1 * 60 * 60; +long _timezone = 0; long _dst_off = 60 * 60; -int _daylight = -1; +int _daylight = 0; char *_tzname[2] = {ntstr, dststr}; #if defined(__USG) || defined(_POSIX_SOURCE) char *tzname[2] = {ntstr, dststr}; #if defined(__USG) -long timezone = -1 * 60 * 60; -int daylight = 1; +long timezone = 0; +int daylight = 0; #endif #endif -- 2.34.1