diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-07-26 02:42:33 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-07-28 00:28:01 -0400 |
commit | 7de071453dc088b6e7edd1791cf0e94664893436 (patch) | |
tree | ff01b7a043a39a3d90b7e804c8647c45bf0afc96 /src | |
parent | 90c9b5fc6054060e7e7f48a96d4883ef1e1f196f (diff) | |
download | musl-7de071453dc088b6e7edd1791cf0e94664893436.tar.gz musl-7de071453dc088b6e7edd1791cf0e94664893436.tar.bz2 musl-7de071453dc088b6e7edd1791cf0e94664893436.tar.xz musl-7de071453dc088b6e7edd1791cf0e94664893436.zip |
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.
(cherry picked from commit a19cd2b64aabee4ae3c80bcf4ba8da26fba560e4)
Diffstat (limited to 'src')
-rw-r--r-- | src/locale/langinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c index 7bb56eed..70a957f5 100644 --- 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"; |