Update guessed test results.
authorBruno Haible <bruno@clisp.org>
Thu, 26 Feb 2009 01:31:05 +0000 (02:31 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Feb 2009 01:31:05 +0000 (02:31 +0100)
ChangeLog
m4/mbrtowc.m4

index 0cab1f9..a126ab8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-02-25  Bruno Haible  <bruno@clisp.org>
 
+       * m4/mbrtowc.m4 (gl_MBRTOWC_NUL_RETVAL): Update guess for Solaris 8
+       with known value.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2009-02-25  Bruno Haible  <bruno@clisp.org>
+
        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".
index ace6980..b6276b2 100644 (file)
@@ -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 <wchar.h>
 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;