Mercurial > gnulib
view doc/pastposix-functions/gcvt.texi @ 40231:9b3c79fdfe0b
strtod: fix clash with strtold
Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817).
* lib/strtod.c (compute_minus_zero, minus_zero):
Simplify by remving the macro / external variable,
and having just a function. User changed. This avoids
the need for an external variable that might clash.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 11 Mar 2019 16:40:29 -0700 |
parents | 41bd1e8f88b2 |
children |
line wrap: on
line source
@node gcvt @section @code{gcvt} @findex gcvt POSIX specification: @url{http://www.opengroup.org/susv3xsh/gcvt.html} Gnulib module: --- Portability problems fixed by Gnulib: @itemize @end itemize Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, Android 9.0. @item This function is marked as ``legacy'' in POSIX. Better use @code{sprintf} instead. @end itemize