From: Christopher Wong Date: Thu, 28 Feb 2019 13:22:42 +0000 (+0100) Subject: Use new time zone list X-Git-Tag: v242-rc1~222^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba32084f08d4dcf11430816d53f467837c8d01a5;p=thirdparty%2Fsystemd.git Use new time zone list When systemd retrieve the time zone it read what is in the file /usr/share/zoneinfo/zone.tab provided by the Time Zone Database. According to the comments in zone.tab its content is for backward- compatibility aid for older programs. New programs should use zone1970.tab. This patch replaces zone.tab with zone1970.tab. --- diff --git a/src/basic/time-util.c b/src/basic/time-util.c index 25a5c116e89..daf952baa11 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c @@ -1214,7 +1214,7 @@ int get_timezones(char ***ret) { n_allocated = 2; n_zones = 1; - f = fopen("/usr/share/zoneinfo/zone.tab", "re"); + f = fopen("/usr/share/zoneinfo/zone1970.tab", "re"); if (f) { for (;;) { _cleanup_free_ char *line = NULL;