pgsql: Simplify replacement code for strtof. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Simplify replacement code for strtof.
Date
Msg-id E1oKUQX-000eK7-Qc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Simplify replacement code for strtof.

strtof() is in C99 and all targeted systems have it.  We can remove the
configure probe and some dead code, but we still need replacement code
for a couple of systems that have known buggy implementations selected
via platform template.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/152683.1659830125%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cbf4403134738245db48b306c62eb1258f2b2bd0

Modified Files
--------------
configure                  | 16 +---------------
configure.ac               |  4 +---
src/include/pg_config.h.in |  3 ---
src/include/port.h         |  4 ----
src/port/strtof.c          | 38 --------------------------------------
src/tools/msvc/Solution.pm |  1 -
6 files changed, 2 insertions(+), 64 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Simplify gettimeofday for Windows.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Remove unportable use of timezone in recent test