diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-02-02 13:01:55 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-02-02 13:12:48 -0800 |
commit | 2f6abcc9f5b2d31a6ea032e075fc923d3ed79b0a (patch) | |
tree | 6211c7da79c80f5a6b2d786f009073ea260103c3 /modules/ftoastr | |
parent | edacea21caa814e54c5d2fbcc586341a937a33d0 (diff) | |
download | gnulib-2f6abcc9f5b2d31a6ea032e075fc923d3ed79b0a.tar.gz |
dtoastr,ftoastr,ldtoastr: port to c-strtod changes
Decouple these modules from c-strtod. Nowadays it’s reasonable to
assume the C99 signatures for strtod and strtold. Programs that
require stricter adherence to C99 should also use the strtod and
strtold modules as needed, and we no longer need the
HAVE_C99_STRTOLD macro.
* NEWS: Mention this.
* lib/ftoastr.c (STRTOF) [LENGTH == 3]: Assume strtold.
* m4/c-strtod.m4 (gl_C_STRTOLD): Do not define HAVE_C99_STRTOLD.
* modules/dtoastr, modules/ftoastr, modules/ldtoastr:
(Files): Remove m4/c-strtod.m4.
(configure.ac): Do not require gl_C99_STRTOLD, which no longer
exists.
Diffstat (limited to 'modules/ftoastr')
-rw-r--r-- | modules/ftoastr | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/ftoastr b/modules/ftoastr index 2d583d4912..0088db160e 100644 --- a/modules/ftoastr +++ b/modules/ftoastr @@ -4,7 +4,6 @@ Convert float to accurate string. Files: lib/ftoastr.h lib/ftoastr.c -m4/c-strtod.m4 Depends-on: extensions @@ -12,7 +11,6 @@ intprops configure.ac: AC_CHECK_FUNCS_ONCE([strtof]) -AC_REQUIRE([gl_C99_STRTOLD]) Makefile.am: lib_SOURCES += ftoastr.c |