From: ceriel Date: Tue, 22 May 1990 14:42:28 +0000 (+0000) Subject: make GMT the default X-Git-Tag: release-5-5~1702 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=adb704aad401eac3fcee131563f0c7751de47367;p=ack.git make GMT the default --- 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