projects
/
openwrt
/
staging
/
luka.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
musl: update to latest git version
[openwrt/staging/luka.git]
/
toolchain
/
musl
/
patches
/
110-read_timezone_from_fs.patch
diff --git
a/toolchain/musl/patches/110-read_timezone_from_fs.patch
b/toolchain/musl/patches/110-read_timezone_from_fs.patch
index 3ff63ac2205a723c3443d12e8a7fa1c1c3bcd161..b4349e73676d6a49df7f5e1d77ea7d04201a523f 100644
(file)
--- a/
toolchain/musl/patches/110-read_timezone_from_fs.patch
+++ b/
toolchain/musl/patches/110-read_timezone_from_fs.patch
@@
-23,6
+23,6
@@
+ s = tzfile = (void *)__map_file("/etc/TZ", &tzfile_size);
+ }
+
- if (!s || !*s) s = "/etc/localtime";
+ if (!s) s = "/etc/localtime";
+ if (!*s) s = __gmt;
- if (old_tz && !strcmp(s, old_tz)) return;