stricter fuzz

This commit is contained in:
Caolan McNamara 2008-08-26 12:12:03 +00:00
parent d889065a33
commit 9d233ef97a

View File

@ -1,6 +1,7 @@
--- icu.orig/source/common/putil.c 2008-05-19 13:33:04.000000000 +0100
+++ icu/source/common/putil.c 2008-05-19 14:18:15.000000000 +0100
@@ -159,30 +159,46 @@
diff -ru icu.orig/source/common/putil.c icu/source/common/putil.c
--- icu.orig/source/common/putil.c 2008-08-26 13:12:58.000000000 +0100
+++ icu/source/common/putil.c 2008-08-26 13:13:01.000000000 +0100
@@ -160,30 +160,46 @@
# define U_POSIX_LOCALE 1
#endif
@ -64,8 +65,8 @@
+ ];
}
#if defined(U_WINDOWS)
@@ -259,10 +274,8 @@
#if defined (U_DEBUG_FAKETIME)
@@ -297,10 +313,8 @@
return (UBool)((convertedNumber.i64 & U_INT64_MAX) > gInf.i64);
#elif defined(OS390)
@ -78,7 +79,7 @@
return ((highBits & 0x7F080000L) == 0x7F080000L) &&
(lowBits == 0x00000000L);
@@ -284,10 +297,8 @@
@@ -322,10 +336,8 @@
/* Infinity is exactly 0x7FF0000000000000U. */
return (UBool)((convertedNumber.i64 & U_INT64_MAX) == gInf.i64);
#elif defined(OS390)
@ -91,7 +92,7 @@
return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L);
@@ -316,8 +327,7 @@
@@ -354,8 +366,7 @@
return (UBool)(number < 0 && uprv_isInfinite(number));
#else
@ -101,7 +102,7 @@
return((highBits & SIGN) && uprv_isInfinite(number));
#endif
@@ -409,7 +419,7 @@
@@ -447,7 +458,7 @@
return uprv_getNaN();
/* check for -0 and 0*/
@ -110,7 +111,7 @@
if(x == 0.0 && y == 0.0 && (lowBits & SIGN))
return y;
@@ -430,7 +440,7 @@
@@ -468,7 +479,7 @@
return uprv_getNaN();
/* check for -0 and 0*/
@ -119,7 +120,7 @@
if(x == 0.0 && y == 0.0 && (lowBits & SIGN))
return y;
@@ -459,7 +469,7 @@
@@ -497,7 +508,7 @@
if(uprv_isInfinite(d))
return uprv_getInfinity();
@ -128,3 +129,4 @@
if( (d == 0.0 && (lowBits & SIGN)) || d < 0)
return ceil(d);
else
Only in icu/source/common: putil.c.orig