diff options
Diffstat (limited to 'main/musl/0013-fix-strftime-y-for-negative-tm_year.patch')
-rw-r--r-- | main/musl/0013-fix-strftime-y-for-negative-tm_year.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/main/musl/0013-fix-strftime-y-for-negative-tm_year.patch b/main/musl/0013-fix-strftime-y-for-negative-tm_year.patch deleted file mode 100644 index f8fbc635c1..0000000000 --- a/main/musl/0013-fix-strftime-y-for-negative-tm_year.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 583ea83541dcc6481c7a1bd1a9b485526bad84a1 Mon Sep 17 00:00:00 2001 -From: Szabolcs Nagy <nsz@port70.net> -Date: Tue, 4 Oct 2016 17:14:57 +0000 -Subject: [PATCH 13/18] fix strftime %y for negative tm_year - ---- - src/time/strftime.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/time/strftime.c b/src/time/strftime.c -index f1ccc4d..e103e02 100644 ---- a/src/time/strftime.c -+++ b/src/time/strftime.c -@@ -167,6 +167,7 @@ const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm * - goto nl_strftime; - case 'y': - val = tm->tm_year % 100; -+ if (val<0) val += 100; - goto number; - case 'Y': - val = tm->tm_year + 1900LL; --- -2.10.1 - |