diff options
author | Bruno Haible <bruno@clisp.org> | 2010-09-10 20:23:49 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-09-10 20:23:49 +0200 |
commit | 3f322af6c93f7eb4c6ce5ceb789416aae10a50bd (patch) | |
tree | 2e7a6424f9a9e2848cf7e1aa647735b41c0e26ac /doc/posix-headers | |
parent | cc85acd7729af217a8f4820ecb36a9be816dba75 (diff) | |
download | gnulib-3f322af6c93f7eb4c6ce5ceb789416aae10a50bd.tar.gz |
langinfo, nl_langinfo: Fix for IRIX 5.3.
* m4/langinfo_h.m4 (gl_LANGINFO_H): Test whether langinfo.h defines
T_FMT_AMPM, YESEXPR. Set HAVE_LANGINFO_T_FMT_AMPM,
HAVE_LANGINFO_YESEXPR.
* modules/langinfo (Makefile.am): Substitute HAVE_LANGINFO_T_FMT_AMPM,
HAVE_LANGINFO_YESEXPR.
* lib/langinfo.in.h (T_FMT_AMPM, GNULIB_defined_T_FMT_AMPM): Define if
HAVE_LANGINFO_T_FMT_AMPM is 0.
(YESEXPR, NOEXPR, GNULIB_defined_YESEXPR): Define if
HAVE_LANGINFO_YESEXPR is 0.
* lib/nl_langinfo.c (rpl_nl_langinfo): Handle also T_FMT_AMPM, YESEXPR,
NOEXPR.
* doc/posix-headers/langinfo.texi: Mention the IRIX 5.3 problem.
* doc/posix-functions/nl_langinfo.texi: Likewise.
Reported by Eric Blake.
Diffstat (limited to 'doc/posix-headers')
-rw-r--r-- | doc/posix-headers/langinfo.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-headers/langinfo.texi b/doc/posix-headers/langinfo.texi index fa48cee63e..e39f13fbcf 100644 --- a/doc/posix-headers/langinfo.texi +++ b/doc/posix-headers/langinfo.texi @@ -17,6 +17,10 @@ glibc 2.0.6, OpenBSD 3.8. The constants @code{ERA}, @code{ERA_D_FMT}, @code{ERA_D_T_FMT}, @code{ERA_T_FMT}, @code{ALT_DIGITS} are not defined on some platforms: OpenBSD 3.8. +@item +The constants @code{T_FMT_AMPM}, @code{YESEXPR}, @code{NOEXPR} are not +defined on some platforms: +IRIX 5.3. @end itemize Portability problems not fixed by Gnulib: |