2003-02-22  Ulrich Drepper  <drepper@redhat.com>

	* 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 <tydeman@tybor.com>.
This commit is contained in:
Ulrich Drepper 2003-02-22 09:12:20 +00:00
parent 286a45c522
commit e57f9f7526
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2003-02-22 Ulrich Drepper <drepper@redhat.com>
* 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 <tydeman@tybor.com>.
2003-02-21 Roland McGrath <roland@redhat.com>
* malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.

View File

@ -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];