This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix copy'n'pasto.


On 03/05/2013 08:22 PM, Thomas Schwinge wrote:

* misc/tst-efgcvt.c (special): Fix copy'n'pasto. --- misc/tst-efgcvt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git misc/tst-efgcvt.c misc/tst-efgcvt.c
index 87d8c63..c989649 100644
--- misc/tst-efgcvt.c
+++ misc/tst-efgcvt.c
@@ -177,7 +177,7 @@ special (void)

    p = ecvt (INFINITY, 10, &decpt, &sign);
    if (sign != 0 || strcmp (p, "inf") != 0)
-    output_error ("ecvt", NAN, 10, "inf", 0, 0, p, decpt, sign);
+    output_error ("ecvt", INFINITY, 10, "inf", 0, 0, p, decpt, sign);

    /* Simply make sure these calls with large NDIGITs don't crash.  */
    (void) ecvt (123.456, 10000, &decpt, &sign);


This is fine, thanks, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]