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
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
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;
29 register char *varname;
30 ! int size, nr, pass_next, saw_escape, eof, opt, retval, code, print_ps2;
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
39 looks for to find the patch level (for the sccs version string). */
41 ! #define PATCHLEVEL 9
43 #endif /* _PATCHLEVEL_H_ */
45 looks for to find the patch level (for the sccs version string). */
47 ! #define PATCHLEVEL 10
49 #endif /* _PATCHLEVEL_H_ */