projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
musl: fix parsing of quoted time zone names
[openwrt/staging/lynxis/omap.git]
/
toolchain
/
musl
/
patches
/
400-fix_quoted_timezone.patch
diff --git a/toolchain/musl/patches/400-fix_quoted_timezone.patch
b/toolchain/musl/patches/400-fix_quoted_timezone.patch
new file mode 100644
(file)
index 0000000..
79afa4a
--- /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 {