recipes: shells/bash: Apply official patches up to level 016
[dragora.git] / patches / bash / bash51-013
blobf2413a58db21ba8d5a86abd8cb5d961c360b2100
1                              BASH PATCH REPORT
2                              =================
4 Bash-Release:   5.1
5 Patch-ID:       bash51-013
7 Bug-Reported-by:        Anders Kaseorg <andersk@mit.edu>
8 Bug-Reference-ID:       <de65540274064d7b95f17e9c46a3a6d8@oc11expo7.exchange.mit.edu>
9 Bug-Reference-URL:      https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00025.html
11 Bug-Description:
13 Bash did not always perform tilde expansion following an unquoted colon on
14 the rhs of an assignment statement in posix mode.
16 Patch (apply with `patch -p0'):
18 *** ../bash-20211028/subst.c    2021-10-18 16:09:58.000000000 -0400
19 --- subst.c     2021-11-30 11:19:47.000000000 -0500
20 ***************
21 *** 3826,3829 ****
22 --- 3826,3830 ----
23     td.flags = W_ASSIGNRHS;
24   #endif
25 +   td.flags |= (W_NOGLOB|W_TILDEEXP);
26     td.word = savestring (string);
27     value = call_expand_word_internal (&td, quoted, 0, (int *)NULL, (int *)NULL);
29 *** ../bash-5.1/patchlevel.h    2020-06-22 14:51:03.000000000 -0400
30 --- patchlevel.h        2020-10-01 11:01:28.000000000 -0400
31 ***************
32 *** 26,30 ****
33      looks for to find the patch level (for the sccs version string). */
34   
35 ! #define PATCHLEVEL 12
36   
37   #endif /* _PATCHLEVEL_H_ */
38 --- 26,30 ----
39      looks for to find the patch level (for the sccs version string). */
40   
41 ! #define PATCHLEVEL 13
42   
43   #endif /* _PATCHLEVEL_H_ */