fix copy'n paste error
[buildroot.git] / package / bash / bash32-007
blob9c616c4faa02b5fde39b723c67e66438ff17b59d
1                              BASH PATCH REPORT
2                              =================
4 Bash-Release: 3.2
5 Patch-ID: bash32-007
7 Bug-Reported-by:        jidanni@jidanni.org
8 Bug-Reference-ID:       <E1Gkg12-00017D-Fm@jidanni.org>
9 Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00039.html
11 Bug-Description:
13 When removing the current or previous job from the jobs list, bash incorrectly
14 resets the current job under some circumstances.
16 Patch:
18 *** bash-3.2-patched/jobs.c     Sat Jul 29 16:40:48 2006
19 --- bash-3.2/jobs.c     Fri Nov 24 14:50:01 2006
20 ***************
21 *** 985,990 ****
22     if (temp == 0)
23       return;
24 -   if (job_index == js.j_current || job_index == js.j_previous)
25 -     reset_current ();
26   
27     if ((dflags & DEL_NOBGPID) == 0)
28 --- 985,988 ----
29 ***************
30 *** 1029,1032 ****
31 --- 1027,1033 ----
32     else if (jobs[js.j_firstj] == 0 || jobs[js.j_lastj] == 0)
33       reset_job_indices ();
34
35 +   if (job_index == js.j_current || job_index == js.j_previous)
36 +     reset_current ();
37   }
39 *** bash-3.2/patchlevel.h       Thu Apr 13 08:31:04 2006
40 --- bash-3.2/patchlevel.h       Mon Oct 16 14:22:54 2006
41 ***************
42 *** 26,30 ****
43      looks for to find the patch level (for the sccs version string). */
44   
45 ! #define PATCHLEVEL 6
46   
47   #endif /* _PATCHLEVEL_H_ */
48 --- 26,30 ----
49      looks for to find the patch level (for the sccs version string). */
50   
51 ! #define PATCHLEVEL 7
52   
53   #endif /* _PATCHLEVEL_H_ */
55