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