vim: update to 9.1.0969
[oi-userland.git] / components / shell / bash / patches / bash52-033.patch
blobca29aea933fdcee32e22164646ec01055c53bdc7
1 BASH PATCH REPORT
2 =================
4 Bash-Release: 5.2
5 Patch-ID: bash52-033
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
11 Bug-Description:
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
20 ***************
21 *** 899,903 ****
22 [AC_LANG_PROGRAM(
23 [[#include <stdlib.h>]],
24 ! [[long double r; char *foo, bar; r = strtold(foo, &bar);]]
25 )],
26 [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes])
27 --- 900,904 ----
28 [AC_LANG_PROGRAM(
29 [[#include <stdlib.h>]],
30 ! [[long double r; char *foo, *bar; r = strtold(foo, &bar);]]
31 )],
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
36 ***************
37 *** 15923,15927 ****
38 main (void)
40 ! long double r; char *foo, bar; r = strtold(foo, &bar);
43 --- 15932,15936 ----
44 main (void)
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
52 ***************
53 *** 710,714 ****
55 p = getfloatmax ();
56 ! f = mklong (start, "L", 1);
57 PF (f, p);
59 --- 710,714 ----
61 p = getfloatmax ();
62 ! f = mklong (start, FLOATMAX_CONV, USE_LONG_DOUBLE);
63 PF (f, p);
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
68 ***************
69 *** 26,30 ****
70 looks for to find the patch level (for the sccs version string). */
72 ! #define PATCHLEVEL 32
74 #endif /* _PATCHLEVEL_H_ */
75 --- 26,30 ----
76 looks for to find the patch level (for the sccs version string). */
78 ! #define PATCHLEVEL 33
80 #endif /* _PATCHLEVEL_H_ */