# HG changeset patch # User Bruno Haible # Date 1235611865 -3600 # Node ID d3d4cc78595e0c9e12aba7e0cfcb25a512725b2d # Parent 13e9d2ea1d1d9ac337b1f35333080e11648cd209 Update guessed test results. diff -r 13e9d2ea1d1d -r d3d4cc78595e ChangeLog --- a/ChangeLog Thu Feb 26 02:21:14 2009 +0100 +++ b/ChangeLog Thu Feb 26 02:31:05 2009 +0100 @@ -1,3 +1,9 @@ +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. diff -r 13e9d2ea1d1d -r d3d4cc78595e m4/mbrtowc.m4 --- a/m4/mbrtowc.m4 Thu Feb 26 02:21:14 2009 +0100 +++ b/m4/mbrtowc.m4 Thu Feb 26 02:31:05 2009 +0100 @@ -315,10 +315,10 @@ 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 @@ #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;