]> git.pld-linux.org Git - packages/bash.git/blame - bash30-012
- use ac-branch version
[packages/bash.git] / bash30-012
CommitLineData
4e9fe84f
JB
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.0
5Patch-ID: bash30-012
6
7Bug-Reported-by: ben@ncipher.com
8Bug-Reference-ID: <E1BxQYe-0002p1-00@berdoo.ncipher.com>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00215.html
10
11Bug-Description:
12
13When using the pipefail option, the following command:
14 echo foo | false
15produces an exit status of 0, ignoring the exit status of false.
16
17Patch:
18
19*** ../bash-3.0/jobs.c Fri Apr 23 16:28:25 2004
20--- jobs.c Wed Aug 18 11:15:07 2004
21***************
22*** 1779,1784 ****
23 {
24 fail = 0;
25! for (p = jobs[job]->pipe; p->next != jobs[job]->pipe; p = p->next)
26! if (p->status != EXECUTION_SUCCESS) fail = p->status;
27 return fail;
28 }
29--- 1779,1789 ----
30 {
31 fail = 0;
32! p = jobs[job]->pipe;
33! do
34! {
35! if (p->status != EXECUTION_SUCCESS) fail = p->status;
36! p = p->next;
37! }
38! while (p != jobs[job]->pipe);
39 return fail;
40 }
41
42*** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
43--- patchlevel.h Thu Sep 2 15:04:32 2004
44***************
45*** 26,30 ****
46 looks for to find the patch level (for the sccs version string). */
47
48! #define PATCHLEVEL 11
49
50 #endif /* _PATCHLEVEL_H_ */
51--- 26,30 ----
52 looks for to find the patch level (for the sccs version string). */
53
54! #define PATCHLEVEL 12
55
56 #endif /* _PATCHLEVEL_H_ */
This page took 0.059177 seconds and 4 git commands to generate.