]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add test case strtod underflow
authorAndreas Jaeger <aj@suse.de>
Fri, 8 Jul 2011 17:16:26 +0000 (13:16 -0400)
committerAndreas Schwab <schwab@redhat.com>
Thu, 21 Jul 2011 10:19:50 +0000 (12:19 +0200)
(cherry picked from commit 04d08991c4612450880eb55a1d3070597429b7cb)

ChangeLog
stdlib/tst-strtod.c

index af6de9054a7f1e9db020f5746efafed10341893c..22f63b168cea6860774087996a4c4e01099c5217 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-05  Andreas Jaeger  <aj@suse.de>
+
+       [BZ#9696]
+       * stdlib/tst-strtod.c: Add testcase.
+
 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
 
        [BZ #12868]
index c30eb1ee12bda188e903b94a363c02a232ee312e..1cb9a5cb0ebc674361975a6ffad8a8c1439349e1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1996-2001,2003,2009 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1996-2001,2003,2009,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -72,6 +72,7 @@ static const struct ltest tests[] =
     { "+InFiNiTy", HUGE_VAL, '\0', 0 },
 #endif
     { "0x80000Ap-23", 0x80000Ap-23, '\0', 0 },
+    { "1e-324", 0, '\0', ERANGE },
     { NULL, 0, '\0', 0 }
   };