• Bruno Haible's avatar
    langinfo, nl_langinfo: Add support for alternative month names. · b5d31754
    Bruno Haible authored
    * 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.
    b5d31754