]> 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>
Wed, 22 May 2024 08:53:18 +0000 (10:53 +0200)
commit8f7f76d6a2272bc88d76898d2474bc27a2a5d0cf
tree79e8719bbd1f2f6411dac9bbe8f2ca5ecd1442c9
parenta26da270a4f997eaa52a7b82aa4ea90011461c9e
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