7 Bug-Reported-by: Florian Weimer <fweimer@redhat.com>
8 Bug-Reference-ID: <87leasmvoo.fsf@oldenburg.str.redhat.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2023-11/msg00104.html
13 A typo in the autoconf test for strtold causes false negatives for strtold
14 being available and working when compiled with gcc-14.
16 Patch (apply with `patch -p0'):
18 *** ../bash-5.2-patched/configure.ac Fri Aug 11 14:52:31 2023
19 --- configure.ac Tue Nov 21 12:00:25 2023
23 [[#include <stdlib.h>]],
24 ! [[long double r; char *foo, bar; r = strtold(foo, &bar);]]
26 [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes])
29 [[#include <stdlib.h>]],
30 ! [[long double r; char *foo, *bar; r = strtold(foo, &bar);]]
32 [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes])
34 *** ../bash-5.2-patched/configure Fri Aug 18 16:27:53 2023
35 --- configure Tue Nov 21 12:00:30 2023
40 ! long double r; char *foo, bar; r = strtold(foo, &bar);
46 ! long double r; char *foo, *bar; r = strtold(foo, &bar);
50 *** ../bash-5.2-patched/builtins/printf.def Fri Jun 24 10:09:50 2022
51 --- builtins/printf.def Tue Aug 13 10:36:55 2024
56 ! f = mklong (start, "L", 1);
62 ! f = mklong (start, FLOATMAX_CONV, USE_LONG_DOUBLE);
66 *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
67 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
70 looks for to find the patch level (for the sccs version string). */
72 ! #define PATCHLEVEL 32
74 #endif /* _PATCHLEVEL_H_ */
76 looks for to find the patch level (for the sccs version string). */
78 ! #define PATCHLEVEL 33
80 #endif /* _PATCHLEVEL_H_ */