usr/src/cmd/bash/Patches-4.0/bash40-004
changeset 54 c8df60226931
parent 53 9e14a282afba
child 55 b08b051f573a
equal deleted inserted replaced
53:9e14a282afba 54:c8df60226931
     1 			     BASH PATCH REPORT
       
     2 			     =================
       
     3 
       
     4 Bash-Release: 4.0
       
     5 Patch-ID: bash40-004
       
     6 
       
     7 Bug-Reported-by:	Mike Frysinger <[email protected]>
       
     8 Bug-Reference-ID:	<[email protected]>
       
     9 Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00176.html
       
    10 
       
    11 Bug-Description:
       
    12 
       
    13 In some cases, enabling the `checkjobs' shell option will cause the shell
       
    14 to core dump when executing the `exit' builtin.
       
    15 
       
    16 Patch:
       
    17 
       
    18 *** ../bash-4.0/builtins/exit.def	2009-01-04 14:32:22.000000000 -0500
       
    19 --- builtins/exit.def	2009-02-23 22:56:58.000000000 -0500
       
    20 ***************
       
    21 *** 114,118 ****
       
    22   	if (jobs[i] && STOPPED (i))
       
    23   	  stopmsg = JSTOPPED;
       
    24 ! 	else if (check_jobs_at_exit && stopmsg == 0 && RUNNING (i))
       
    25   	  stopmsg = JRUNNING;
       
    26   
       
    27 --- 114,118 ----
       
    28   	if (jobs[i] && STOPPED (i))
       
    29   	  stopmsg = JSTOPPED;
       
    30 ! 	else if (check_jobs_at_exit && stopmsg == 0 && jobs[i] && RUNNING (i))
       
    31   	  stopmsg = JRUNNING;
       
    32   
       
    33 *** ../bash-4.0/patchlevel.h	2009-01-04 14:32:40.000000000 -0500
       
    34 --- patchlevel.h	2009-02-22 16:11:31.000000000 -0500
       
    35 ***************
       
    36 *** 26,30 ****
       
    37      looks for to find the patch level (for the sccs version string). */
       
    38   
       
    39 ! #define PATCHLEVEL 3
       
    40   
       
    41   #endif /* _PATCHLEVEL_H_ */
       
    42 --- 26,30 ----
       
    43      looks for to find the patch level (for the sccs version string). */
       
    44   
       
    45 ! #define PATCHLEVEL 4
       
    46   
       
    47   #endif /* _PATCHLEVEL_H_ */