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