From a19cd2b64aabee4ae3c80bcf4ba8da26fba560e4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 26 Jul 2014 02:42:33 -0400 Subject: [PATCH] fix nl_langinfo table for LC_TIME era-related items due to a skipped slot and missing null terminator, the last few strings were off by one or two slots from their item codes. --- src/locale/langinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c index 13abf45b..657dd9c4 100644 --- a/src/locale/langinfo.c +++ b/src/locale/langinfo.c @@ -18,8 +18,9 @@ static const char c_time[] = "%H:%M:%S\0" "%I:%M:%S %p\0" "\0" + "\0" "%m/%d/%y\0" - "0123456789" + "0123456789\0" "%a %b %e %T %Y\0" "%H:%M:%S"; -- 2.25.1