Bash Version: 5.2
Patch Level: 21
Release Status: release
Description:
One of my old script that's been in use for 10+ years is using
built-in bash printf
for rounding float value to int via `printf`; as of today (Aug 12)
it started
returning erroneous and inconsistent results.
Note it doesn't require float input value - trying to format full integers
reproduces the problem the same.
It's probably a bug with configure, which a gcc update has triggered.
I've attached a patch.
Bash version hasn't been updated for ages so assuming it has to be
a dependency issue.
My question is why the (admittedly old) gnulib replacement strtod/strtold
is messing things up.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/