projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c9b5f
)
fix nl_langinfo table for LC_TIME era-related items
author
Rich Felker
<dalias@aerifal.cx>
Sat, 26 Jul 2014 06:42:33 +0000
(
02:42
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 28 Jul 2014 04:28:01 +0000
(
00:28
-0400)
due to a skipped slot and missing null terminator, the last few
strings were off by one or two slots from their item codes.
(cherry picked from commit
a19cd2b64aabee4ae3c80bcf4ba8da26fba560e4
)
src/locale/langinfo.c
patch
|
blob
|
history
diff --git
a/src/locale/langinfo.c
b/src/locale/langinfo.c
index 7bb56eede9f56d92320ae79a553c095a828e22a2..70a957f512bf0030b583ee2ecfb3344bd3f894c1 100644
(file)
--- a/
src/locale/langinfo.c
+++ b/
src/locale/langinfo.c
@@
-17,8
+17,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";