mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
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.
This commit is contained in:
parent
1f82f5bb42
commit
ba32084f08
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user