7 Bug-Reported-by: Siteshwar Vashisht <svashisht@redhat.com>
8 Bug-Reference-ID: <1341922391.30876471.1501250355579.JavaMail.zimbra@redhat.com>
9 Bug-Reference-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1466737
13 Under certain circumstances (e.g., reading from /dev/zero), read(2) will not
14 return -1 even when interrupted by a signal. The read builtin needs to check
15 for signals in this case.
17 Patch (apply with `patch -p0'):
19 *** ../bash-20170622/builtins/read.def 2017-06-17 18:45:20.000000000 -0400
20 --- builtins/read.def 2017-06-30 11:09:26.000000000 -0400
26 #if defined (READLINE)
31 ! QUIT; /* in case we didn't call check_signals() */
32 #if defined (READLINE)
34 *** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
35 --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
38 looks for to find the patch level (for the sccs version string). */
40 ! #define PATCHLEVEL 17
42 #endif /* _PATCHLEVEL_H_ */
44 looks for to find the patch level (for the sccs version string). */
46 ! #define PATCHLEVEL 18
48 #endif /* _PATCHLEVEL_H_ */