aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-11-08 12:38:37 +0100
committerGitHub <noreply@github.com>2016-11-08 12:38:37 +0100
commitcedab88a4379aebeb3dbd7cc420bb4a13874eef1 (patch)
treee540906831a259ab5fd833262cf4412e0cee445b /toolchain/musl/patches
parent726d4efb789a9a035355d78c77a5ec25e483999b (diff)
parent55d5f26bcd977f6323daec9e85cdbe599de8b31f (diff)
downloadmaster-187ad058-cedab88a4379aebeb3dbd7cc420bb4a13874eef1.tar.gz
master-187ad058-cedab88a4379aebeb3dbd7cc420bb4a13874eef1.tar.bz2
master-187ad058-cedab88a4379aebeb3dbd7cc420bb4a13874eef1.zip
Merge pull request #163 from hnyman/musltz
toolchain/musl: fix quoted time zone name handling
Diffstat (limited to 'toolchain/musl/patches')
-rw-r--r--toolchain/musl/patches/400-fix_quoted_timezone.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/musl/patches/400-fix_quoted_timezone.patch b/toolchain/musl/patches/400-fix_quoted_timezone.patch
new file mode 100644
index 0000000000..79afa4a63b
--- /dev/null
+++ b/toolchain/musl/patches/400-fix_quoted_timezone.patch
@@ -0,0 +1,11 @@
+--- a/src/time/__tz.c
++++ b/src/time/__tz.c
+@@ -87,7 +87,7 @@
+ int i;
+ if (**p == '<') {
+ ++*p;
+- for (i=0; **p!='>' && i<TZNAME_MAX; i++)
++ for (i=0; (*p)[i]!='>' && i<TZNAME_MAX; i++)
+ d[i] = (*p)[i];
+ ++*p;
+ } else {