changeset 11218:d3d4cc78595e

Update guessed test results.
author Bruno Haible <bruno@clisp.org>
date Thu, 26 Feb 2009 02:31:05 +0100
parents 13e9d2ea1d1d
children aaeb2f86d096
files ChangeLog m4/mbrtowc.m4
diffstat 2 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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  <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.
--- 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 <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;