]> Savannah Git Hosting - gnulib.git/commit
vasnprintf: Don't abort for pseudo-denormal arguments on macOS 12.
authorBruno Haible <bruno@clisp.org>
Mon, 20 May 2024 22:33:55 +0000 (00:33 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 21 May 2024 01:44:20 +0000 (03:44 +0200)
commit5e5a9002dc5fd94c88ec262931e7c12dfa22006c
tree07abc0989de11d5ab394203b99727d749a5b74f3
parent2458edc6b921241dd9a4084270093bd2cbc14297
vasnprintf: Don't abort for pseudo-denormal arguments on macOS 12.

Reported by GaĆ«tan Herfray <g.herfray@gahfy.io> via Erik Blake in
<https://lists.gnu.org/archive/html/bug-m4/2022-03/msg00002.html>
<https://lists.gnu.org/archive/html/bug-gnulib/2022-03/msg00066.html>.

* lib/vasnprintf.c (safe_frexpl): New function.
(decode_long_double, floorlog10l): Invoke it instead of frexpl.
ChangeLog
lib/vasnprintf.c