From 111f6c0710dd7d63b6eeed5b066dac2112798253 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 26 Feb 2009 02:31:05 +0100 Subject: [PATCH] Update guessed test results. --- ChangeLog | 6 ++++++ m4/mbrtowc.m4 | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0cab1f98d..a126ab88c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-02-25 Bruno Haible + * m4/mbrtowc.m4 (gl_MBRTOWC_NUL_RETVAL): Update guess for Solaris 8 + with known value. + Reported by Gary V. Vaughan . + +2009-02-25 Bruno Haible + Work around mbrtowc bug in zh_CN.GB18030 locale on Solaris 8. * m4/mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): New macro. (gl_MBSTATE_T_BROKEN): Invoke it. Replace mbstate_t when it says "no". diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4 index ace698003..b6276b279 100644 --- a/m4/mbrtowc.m4 +++ b/m4/mbrtowc.m4 @@ -315,10 +315,10 @@ AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], dnl is present. changequote(,)dnl case "$host_os" in - # Guess no on Solaris 9. - solaris2.9) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; - # Guess yes otherwise. - *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; + # Guess no on Solaris 8 and 9. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_ZH_CN != none; then @@ -328,7 +328,7 @@ changequote([,])dnl #include int main () { - /* This fails on Solaris 9. */ + /* This fails on Solaris 8 and 9. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; -- 2.11.0