Roman Rakus 2455014
			     BASH PATCH REPORT
Roman Rakus 2455014
			     =================
Roman Rakus 2455014
Roman Rakus 2455014
Bash-Release: 4.0
Roman Rakus 2455014
Patch-ID: bash40-004
Roman Rakus 2455014
Roman Rakus 2455014
Bug-Reported-by:	Mike Frysinger <vapier@gentoo.org>
Roman Rakus 2455014
Bug-Reference-ID:	<200902231720.30519.vapier@gentoo.org>
Roman Rakus 2455014
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00176.html
Roman Rakus 2455014
Roman Rakus 2455014
Bug-Description:
Roman Rakus 2455014
Roman Rakus 2455014
In some cases, enabling the `checkjobs' shell option will cause the shell
Roman Rakus 2455014
to core dump when executing the `exit' builtin.
Roman Rakus 2455014
Roman Rakus 2455014
Patch:
Roman Rakus 2455014
Roman Rakus 2455014
*** ../bash-4.0/builtins/exit.def	2009-01-04 14:32:22.000000000 -0500
Roman Rakus 2455014
--- builtins/exit.def	2009-02-23 22:56:58.000000000 -0500
Roman Rakus 2455014
***************
Roman Rakus 2455014
*** 114,118 ****
Roman Rakus 2455014
  	if (jobs[i] && STOPPED (i))
Roman Rakus 2455014
  	  stopmsg = JSTOPPED;
Roman Rakus 2455014
! 	else if (check_jobs_at_exit && stopmsg == 0 && RUNNING (i))
Roman Rakus 2455014
  	  stopmsg = JRUNNING;
Roman Rakus 2455014
  
Roman Rakus 2455014
--- 114,118 ----
Roman Rakus 2455014
  	if (jobs[i] && STOPPED (i))
Roman Rakus 2455014
  	  stopmsg = JSTOPPED;
Roman Rakus 2455014
! 	else if (check_jobs_at_exit && stopmsg == 0 && jobs[i] && RUNNING (i))
Roman Rakus 2455014
  	  stopmsg = JRUNNING;
Roman Rakus 2455014
  
Roman Rakus 2455014
*** ../bash-4.0/patchlevel.h	2009-01-04 14:32:40.000000000 -0500
Roman Rakus 2455014
--- patchlevel.h	2009-02-22 16:11:31.000000000 -0500
Roman Rakus 2455014
***************
Roman Rakus 2455014
*** 26,30 ****
Roman Rakus 2455014
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 2455014
  
Roman Rakus 2455014
! #define PATCHLEVEL 3
Roman Rakus 2455014
  
Roman Rakus 2455014
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus 2455014
--- 26,30 ----
Roman Rakus 2455014
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 2455014
  
Roman Rakus 2455014
! #define PATCHLEVEL 4
Roman Rakus 2455014
  
Roman Rakus 2455014
  #endif /* _PATCHLEVEL_H_ */