musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/strptime.c 2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time/strptime.c b/src/time/strptime.c
index 488c08dd..4c0bb26c 100644
--- a/src/time/strptime.c
+++ b/src/time/strptime.c
@@ -18,6 +18,7 @@ char *strptime(const char *s, const char *f, struct tm *tm)
else if (*s != *f) return 0;
else s++;
f++;
+ continue;
}
f++;
if (*f == '+') f++;
@@ -165,6 +166,7 @@ char *strptime(const char *s, const char *f, struct tm *tm)
ex = nl_langinfo(min+i);
len = strlen(ex);
if (strncasecmp(s, ex, len)) continue;
+ s += len;
*dest = i % range;
break;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月24日 07:26:45 +0000

AltStyle によって変換されたページ (->オリジナル) /