aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches/110-read_timezone_from_fs.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-24 15:35:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-24 15:35:55 +0000
commit5537698be1dfe40676d0f5e9b43852a72a5e5573 (patch)
treec7c0855f8051508a5149cead39485bccc688f844 /toolchain/musl/patches/110-read_timezone_from_fs.patch
parentbee26ca0de90d4b1895cb53982632f3ecb9ff362 (diff)
downloadupstream-5537698be1dfe40676d0f5e9b43852a72a5e5573.tar.gz
upstream-5537698be1dfe40676d0f5e9b43852a72a5e5573.tar.bz2
upstream-5537698be1dfe40676d0f5e9b43852a72a5e5573.zip
musl: update to latest git version
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46481
Diffstat (limited to 'toolchain/musl/patches/110-read_timezone_from_fs.patch')
-rw-r--r--toolchain/musl/patches/110-read_timezone_from_fs.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/musl/patches/110-read_timezone_from_fs.patch b/toolchain/musl/patches/110-read_timezone_from_fs.patch
index 3ff63ac220..b4349e7367 100644
--- 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;