From: Hannu Nyman Date: Mon, 24 Oct 2016 10:12:24 +0000 (+0300) Subject: fix parsing of quoted time zone names X-Git-Tag: v1.1.16~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ca27ac4bfe73bff785d0c26c1de0da92b55e5c6;p=oweals%2Fmusl.git fix parsing of quoted time zone names Fix parsing of the < > quoted time zone names. Compare the correct character instead of repeatedly comparing the first character. --- diff --git a/src/time/__tz.c b/src/time/__tz.c index 8b84b9bd..0e0c4ea2 100644 --- a/src/time/__tz.c +++ b/src/time/__tz.c @@ -84,7 +84,7 @@ static void getname(char *d, const char **p) int i; if (**p == '<') { ++*p; - for (i=0; **p!='>' && i