X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=gnu%2Fnl_langinfo.c;fp=gnu%2Fnl_langinfo.c;h=4fcb76f34ea1985accb5979d909aff39f77bc547;hp=a709942976c4443b6711af7ae4e35559bd1bac1e;hb=ee168310ec4227174ace489bf5f81f8c2f91cde0;hpb=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6 diff --git a/gnu/nl_langinfo.c b/gnu/nl_langinfo.c index a709942..4fcb76f 100644 --- a/gnu/nl_langinfo.c +++ b/gnu/nl_langinfo.c @@ -69,6 +69,10 @@ rpl_nl_langinfo (nl_item item) return ""; } # endif +# if GNULIB_defined_T_FMT_AMPM + case T_FMT_AMPM: + return "%I:%M:%S %p"; +# endif # if GNULIB_defined_ERA case ERA: /* The format is not standardized. In glibc it is a sequence of strings @@ -94,6 +98,12 @@ rpl_nl_langinfo (nl_item item) /* The format is not standardized. In glibc it is a sequence of 10 strings, appended in memory. */ return "\0\0\0\0\0\0\0\0\0\0"; +# endif +# if GNULIB_defined_YESEXPR + case YESEXPR: + return "^[yY]"; + case NOEXPR: + return "^[nN]"; # endif default: break;