7 Bug-Reported-by: Eduardo A . Bustamante Lopez <dualbus@gmail.com>
8 Bug-Reference-ID: <20140228170013.GA16015@dualbus.me>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00091.html
13 A shell that started with job control active but was not interactive left
14 the terminal in the wrong process group when exiting, causing its parent
15 shell to get a stop signal when it attempted to read from the terminal.
17 Patch (apply with `patch -p0'):
19 *** ../bash-4.3/jobs.c 2014-01-10 09:05:34.000000000 -0500
20 --- jobs.c 2014-03-02 18:05:09.000000000 -0500
25 ! if (interactive_shell) /* XXX - should it be interactive? */
27 terminate_stopped_jobs ();
31 ! if (interactive_shell || job_control) /* XXX - should it be just job_control? */
33 terminate_stopped_jobs ();
34 *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
35 --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400
38 looks for to find the patch level (for the sccs version string). */
40 ! #define PATCHLEVEL 5
42 #endif /* _PATCHLEVEL_H_ */
44 looks for to find the patch level (for the sccs version string). */
46 ! #define PATCHLEVEL 6
48 #endif /* _PATCHLEVEL_H_ */