[Python-checkins] r45264 - python/trunk/configure python/trunk/configure.in

martin.v.loewis python-checkins at python.org
Tue Apr 11 09:15:31 CEST 2006


Author: martin.v.loewis
Date: Tue Apr 11 09:15:30 2006
New Revision: 45264

Modified:
   python/trunk/configure
   python/trunk/configure.in
Log:
Correct test whether wchar_t is unsigned. Fixed crash
in #1454485.


Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure	(original)
+++ python/trunk/configure	Tue Apr 11 09:15:30 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 43615 .
+# From configure.in Revision: 43748 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.5.
 #
@@ -20019,7 +20019,8 @@
   #include <wchar.h>
   int main()
   {
-        exit((((wchar_t) -1) < ((wchar_t) 0)) ? 1 : 0);
+	/* Success: exit code 0 */
+        exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
   }
 
 _ACEOF

Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Tue Apr 11 09:15:30 2006
@@ -2792,7 +2792,8 @@
   #include <wchar.h>
   int main()
   {
-        exit((((wchar_t) -1) < ((wchar_t) 0)) ? 1 : 0);
+	/* Success: exit code 0 */
+        exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
   }
   ],
   ac_cv_wchar_t_signed=yes,


More information about the Python-checkins mailing list