1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-08 10:34:13 +00:00

Eggert mods

SCCS-file: localtime.c
SCCS-SID: 7.67
This commit is contained in:
Arthur David Olson
1999-08-17 14:09:03 -04:00
committed by Paul Eggert
parent 43e06def7a
commit 3d1251c9c6

View File

@ -734,6 +734,12 @@ const int lastditch;
if (name == NULL)
return -1;
} else dstoffset = stdoffset - SECSPERHOUR;
if (*name == '\0' && load_result != 0)
/*
** Default to current US rules if TZ has no rules
** and we can't load the default rules,
*/
name = ",M4.1.0,M10.5.0";
if (*name == ',' || *name == ';') {
struct rule start;
struct rule end;
@ -796,8 +802,6 @@ const int lastditch;
if (*name != '\0')
return -1;
if (load_result != 0)
return -1;
/*
** Initial values of theirstdoffset and theirdstoffset.
*/