]> git.pld-linux.org Git - packages/bash.git/blame - bash32-007
- up to 3.2.39
[packages/bash.git] / bash32-007
CommitLineData
4112a3e1
ER
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.2
5Patch-ID: bash32-007
6
7Bug-Reported-by: jidanni@jidanni.org
8Bug-Reference-ID: <E1Gkg12-00017D-Fm@jidanni.org>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00039.html
10
11Bug-Description:
12
13When removing the current or previous job from the jobs list, bash incorrectly
14resets the current job under some circumstances.
15
16Patch:
17
18*** ../bash-3.2-patched/jobs.c Sat Jul 29 16:40:48 2006
19--- 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 }
38
39*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
40--- 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_ */
54
55
This page took 0.04709 seconds and 4 git commands to generate.