svn commit: r199405 - in head: lib/libc/gen share/zoneinfo

David E. O'Brien obrien at FreeBSD.org
Tue Nov 17 16:29:40 UTC 2009


Author: obrien
Date: Tue Nov 17 16:29:39 2009
New Revision: 199405
URL: http://svn.freebsd.org/changeset/base/199405

Log:
  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.

Modified:
  head/lib/libc/gen/tzset.3
  head/share/zoneinfo/etcetera

Modified: head/lib/libc/gen/tzset.3
==============================================================================
--- head/lib/libc/gen/tzset.3	Tue Nov 17 16:26:45 2009	(r199404)
+++ head/lib/libc/gen/tzset.3	Tue Nov 17 16:29:39 2009	(r199405)
@@ -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

Modified: head/share/zoneinfo/etcetera
==============================================================================
--- head/share/zoneinfo/etcetera	Tue Nov 17 16:26:45 2009	(r199404)
+++ head/share/zoneinfo/etcetera	Tue Nov 17 16:29:39 2009	(r199405)
@@ -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


More information about the svn-src-all mailing list