]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 22 Feb 2003 09:12:20 +0000 (09:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 22 Feb 2003 09:12:20 +0000 (09:12 +0000)
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>.

ChangeLog
stdlib/strtod.c

index bfc5e15e037407afda182edb4ab49c09f4bd2ff6..b5b20eb42c13b7b392c708a25fe7c817323ace74 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 45e5abf8cc32dcdc545b72463e9b859cfc52afbe..94b1c5d7f24bd7ccaeb2742abe82ab9fa23711cd 100644 (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];