Parcourir la source

2008-06-03 Zoltan Varga <[email protected]>

	* decimal.c (rescale128): Disable the code added by the last patch, as it seems
	to cause crashes.

svn path=/trunk/mono/; revision=104782
Zoltan Varga il y a 17 ans
Parent
commit
b28efe9720
2 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 5 0
      mono/metadata/ChangeLog
  2. 4 0
      mono/metadata/decimal.c

+ 5 - 0
mono/metadata/ChangeLog

@@ -1,3 +1,8 @@
+2008-06-03  Zoltan Varga  <[email protected]>
+
+	* decimal.c (rescale128): Disable the code added by the last patch, as it seems
+	to cause crashes.
+
 2008-06-03 Rodrigo Kumpera  <[email protected]>
 
 	* reflection.c (mono_reflection_generic_class_initialize): Name must

+ 4 - 0
mono/metadata/decimal.c

@@ -681,6 +681,9 @@ DECINLINE static int rescale128(guint64* pclo, guint64* pchi, int* pScale, int t
             }
 			*/
 
+			/*
+			 * FIXME: This code seems to cause crashes on the x86 buildbot during the
+			 * System.Data.DataSetExtensions tests.
 			prev_lo = *pclo;
 			if (overhang > 0) {
 				int msf = my_g_bit_nth_msf (overhang);
@@ -699,6 +702,7 @@ DECINLINE static int rescale128(guint64* pclo, guint64* pchi, int* pScale, int t
 					g_assert (overhang > (2 << DECIMAL_MAX_INTFACTORS));
 				}
 			}
+			*/
             while (texp > 0 && (overhang > (2<<DECIMAL_MAX_INTFACTORS) || (*pclo & 1) == 0)) {
 				--texp;
 				prev_lo = *pclo;