Catch up with r130332 which changed the default timezone from GMT to UTC.

Otherwise the tzload() (when called by gmtload()) fails to locate the UTC
file and loads the posixrules.
This commit is contained in:
David E. O'Brien 2009-11-17 16:29:39 +00:00
parent 952ffdb9da
commit 8b49e38f8f
2 changed files with 4 additions and 4 deletions

View File

@ -310,14 +310,14 @@ time zone directory
rules for
.Tn POSIX Ns -style
.Tn TZ Ns 's
.It Pa /usr/share/zoneinfo/GMT
.It Pa /usr/share/zoneinfo/Etc/GMT
for
.Tn UTC
leap seconds
.El
.Pp
If the file
.Pa /usr/share/zoneinfo/GMT
.Pa /usr/share/zoneinfo/UTC
does not exist,
.Tn UTC
leap seconds are loaded from

View File

@ -16,9 +16,9 @@ Zone Etc/UCT 0 - UCT
# The following link uses older naming conventions,
# but it belongs here, not in the file `backward',
# as functions like gmtime load the "GMT" file to handle leap seconds properly.
# as functions like gmtime load the "UTC" file to handle leap seconds properly.
# We want this to work even on installations that omit the other older names.
Link Etc/GMT GMT
Link Etc/UTC UTC
Link Etc/UTC Etc/Universal
Link Etc/UTC Etc/Zulu