From: Ulrich Drepper Date: Sat, 22 Feb 2003 09:12:20 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_2~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e57f9f7526df164a7e337b4e91e34e9d75cb1e2c;p=thirdparty%2Fglibc.git Update. 2003-02-22 Ulrich Drepper * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word when shifting retval. * stdlib/tst-strtod.c (main): Add strtold test case. Reported by Fred J. Tydeman . --- diff --git a/ChangeLog b/ChangeLog index bfc5e15e037..b5b20eb42c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-02-22 Ulrich Drepper + + * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word + when shifting retval. + * stdlib/tst-strtod.c (main): Add strtold test case. + Reported by Fred J. Tydeman . + 2003-02-21 Roland McGrath * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 45e5abf8cc3..94b1c5d7f24 100644 --- a/stdlib/strtod.c +++ b/stdlib/strtod.c @@ -1472,9 +1472,6 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM) #else for (i = RETURN_LIMB_SIZE; i > empty; --i) retval[i] = retval[i - empty]; -#endif -#if RETURN_LIMB_SIZE > 1 - retval[1] = 0; #endif for (i = numsize; i > 0; --i) num[i + empty] = num[i - 1];