]> Savannah Git Hosting - gnulib.git/commit
langinfo, nl_langinfo: Add support for alternative month names.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Jan 2018 09:02:17 +0000 (10:02 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 24 Jan 2018 09:02:17 +0000 (10:02 +0100)
commitb5d317541ee1c337ce954099289eeac10d161180
treeee51b8f7f8c0e155df3946cb5585f0e0fe58fef5
parent4a236f16ce0ef97094ff2f6538d4dba90e72a523
langinfo, nl_langinfo: Add support for alternative month names.

* m4/langinfo_h.m4 (gl_LANGINFO_H): Define HAVE_LANGINFO_ALTMON.
* lib/langinfo.in.h (ALTMON_1...ALTMON_12): New macros.
* lib/nl_langinfo.c (rpl_nl_langinfo): Treat ALTMON_i like MON_i.
* tests/test-nl_langinfo.c (main): Test ALTMON_*.
* doc/posix-headers/langinfo.texi: Document support of ALTMON_*.
* 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
tests/test-nl_langinfo.c