Fixes:
-
Fix thread safety of encoding and decoding when
uselocale
ornewlocale
is used to switch locales inside the threads (#674, #675, #677. Thanks to
Bruno Haible for the report and help with fixing.) -
Use David M. Gay's
dtoa()
algorithm to avoid misprinting issues of real
numbers that are not exactly representable as adouble
(#680).If this is not desirable, use
./configure --disable-dtoa
orcmake -DUSE_DTOA=OFF .
Build: