]> Savannah Git Hosting - gnulib.git/commit
langinfo-h, nl_langinfo: Support abbreviated alternative month names.
authorBruno Haible <bruno@clisp.org>
Fri, 21 Feb 2025 18:26:23 +0000 (19:26 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Feb 2025 18:26:23 +0000 (19:26 +0100)
commit6e6eb2162eea328d1b85e68358441d1004f24be6
tree920baa2a3b9597f089902292a10af8119e999eea
parent02e566e8b3fe5b697555bd87ab4500a100507310
langinfo-h, nl_langinfo: Support abbreviated alternative month names.

* lib/langinfo.in.h (ABALTMON_1...ABALTMON_12): New macros.
* m4/langinfo_h.m4 (gl_LANGINFO_H): Define HAVE_LANGINFO_ABALTMON.
* modules/langinfo-h (Makefile.am): Substitute HAVE_LANGINFO_ABALTMON.
* tests/test-langinfo-h.c (items): Add ABALTMON_1 to ABALTMON_12.
* lib/nl_langinfo.c (rpl_nl_langinfo): Treat ABALTMON_i like ABMON_i.
* tests/test-nl_langinfo.c (main): Test ABALTMON_*.
* doc/posix-headers/langinfo.texi: Document support of ABALTMON_*.
* doc/posix-functions/nl_langinfo.texi: Likewise.
ChangeLog
doc/posix-functions/nl_langinfo.texi
doc/posix-headers/langinfo.texi
lib/langinfo.in.h
lib/nl_langinfo.c
m4/langinfo_h.m4
modules/langinfo-h
tests/test-langinfo-h.c
tests/test-nl_langinfo1.c