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
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014年07月26日 02:42:33 -0400
committerRich Felker <dalias@aerifal.cx>2014年07月26日 02:42:33 -0400
commita19cd2b64aabee4ae3c80bcf4ba8da26fba560e4 (patch)
treea4e4609f38398e719a74e8494dc67ca12b2eea81
parent41421d6beb3f17aa8838f7cdaad9cd16b4c451f6 (diff)
downloadmusl-a19cd2b64aabee4ae3c80bcf4ba8da26fba560e4.tar.gz
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.
Diffstat
-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 13abf45b..657dd9c4 100644
--- a/src/locale/langinfo.c
+++ b/src/locale/langinfo.c
@@ -18,8 +18,9 @@ static const char c_time[] =
"%H:%M:%S0円"
"%I:%M:%S %p0円"
"0円"
+ "0円"
"%m/%d/%y0円"
- "0123456789"
+ "01234567890円"
"%a %b %e %T %Y0円"
"%H:%M:%S";
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月15日 13:14:33 +0000

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