]> sourceware.org Git - glibc.git/commitdiff
Fix arg used as litteral suffix in tst-strfrom.h
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 28 Oct 2016 19:24:17 +0000 (17:24 -0200)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Wed, 14 Dec 2016 17:45:08 +0000 (15:45 -0200)
The macro ENTRY in tst-strfrom.h is used to generate the input values for
each floating-point type (float, double, long double).  It should append
the parameter LSUF (Literal suffix) to the floating-point number, but is
using CSUF (C function suffix).  This patch fixes it.

Tested for powerpc64le and x86_64.

ChangeLog
stdlib/tst-strfrom.h

index f40e09fcb1b60a97b93ebe101372da308e3d5a74..c7b055d2177bec0d8c1ba75f99930c929e1fa6e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
+
 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * sysdeps/unix/sysv/linux/renameat.c: New file.
index 31a6492936bb6174cf7012e2cea7d68b3fd44779..75be55fa03e08373601570d1c44c5b671f618364 100644 (file)
@@ -36,7 +36,7 @@
 #define STRUCT_FOREACH_FLOAT_FTYPE GEN_TEST_STRTOD_FOREACH (FTYPE_MEMBER)
 
 #define ENTRY(FSUF, FTYPE, FTOSTR, LSUF, CSUF, ...)  \
-   CONCAT (__VA_ARGS__, CSUF),
+   CONCAT (__VA_ARGS__, LSUF),
 /* This is hacky way around the seemingly unavoidable macro
  * expansion of the INFINITY or HUGE_VAL like macros in the
  * above.  It is assumed the compiler will implicitly convert
This page took 0.164158 seconds and 5 git commands to generate.