recipes: shells/bash: upgraded to version 5.0
[dragora.git] / patches / bash / bash44-010
blob2346005c35b27a337d3ae05c15b07d3fab35f54d
1                              BASH PATCH REPORT
2                              =================
4 Bash-Release:   4.4
5 Patch-ID:       bash44-010
7 Bug-Reported-by:        Clark Wang <dearvoid@gmail.com>
8 Bug-Reference-ID:       <CADv8-og092RvvUUHy46=BPKChCXw5g=GOOqgN0V3f4a3TpLebQ@mail.gmail.com>
9 Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00104.html
11 Bug-Description:
13 Depending on compiler optimizations and behavior, the `read' builtin may not
14 save partial input when a timeout occurs.
16 Patch (apply with `patch -p0'):
18 *** ../bash-4.4-patched/builtins/read.def       2016-05-16 14:24:56.000000000 -0400
19 --- builtins/read.def   2016-11-25 12:37:56.000000000 -0500
20 ***************
21 *** 182,186 ****
22   {
23     register char *varname;
24 !   int size, i, nr, pass_next, saw_escape, eof, opt, retval, code, print_ps2;
25     int input_is_tty, input_is_pipe, unbuffered_read, skip_ctlesc, skip_ctlnul;
26     int raw, edit, nchars, silent, have_timeout, ignore_delim, fd, lastsig, t_errno;
27 --- 182,187 ----
28   {
29     register char *varname;
30 !   int size, nr, pass_next, saw_escape, eof, opt, retval, code, print_ps2;
31 !   volatile int i;
32     int input_is_tty, input_is_pipe, unbuffered_read, skip_ctlesc, skip_ctlnul;
33     int raw, edit, nchars, silent, have_timeout, ignore_delim, fd, lastsig, t_errno;
35 *** ../bash-4.4/patchlevel.h    2016-06-22 14:51:03.000000000 -0400
36 --- patchlevel.h        2016-10-01 11:01:28.000000000 -0400
37 ***************
38 *** 26,30 ****
39      looks for to find the patch level (for the sccs version string). */
40   
41 ! #define PATCHLEVEL 9
42   
43   #endif /* _PATCHLEVEL_H_ */
44 --- 26,30 ----
45      looks for to find the patch level (for the sccs version string). */
46   
47 ! #define PATCHLEVEL 10
48   
49   #endif /* _PATCHLEVEL_H_ */