]> git.pld-linux.org Git - packages/bash.git/blame - bash32-048
- up to 4.0.10
[packages/bash.git] / bash32-048
CommitLineData
2c5ed6e3
AG
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.2
5Patch-ID: bash32-048
6
7Bug-Reported-by: Steffen Kiess <s-kiess@web.de>
8Bug-Reference-ID: <1223929957.5383.6.camel@fips>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2008-10/msg00047.html
10
11Bug-Description:
12
13When invoked as `bash -c', bash did not execute an EXIT trap when the last
14command in the executed list was a command run from the file system.
15
16Patch:
17
18*** /Users/chet/src/bash/bash-3.2-patched/builtins/evalstring.c 2006-07-28 15:12:16.000000000 -0400
19--- builtins/evalstring.c 2008-11-13 18:38:45.000000000 -0500
20***************
21*** 249,252 ****
22--- 249,253 ----
23 * we're not running a trap AND
24 * we have parsed the full command (string == '\0') AND
25+ * we're not going to run the exit trap AND
26 * we have a simple command without redirections AND
27 * the command is not being timed AND
28***************
29*** 259,263 ****
30 *bash_input.location.string == '\0' &&
31 command->type == cm_simple &&
32! !command->redirects && !command->value.Simple->redirects &&
33 ((command->flags & CMD_TIME_PIPELINE) == 0) &&
34 ((command->flags & CMD_INVERT_RETURN) == 0))
35--- 260,265 ----
36 *bash_input.location.string == '\0' &&
37 command->type == cm_simple &&
38! signal_is_trapped (EXIT_TRAP) == 0 &&
39! command->redirects == 0 && command->value.Simple->redirects == 0 &&
40 ((command->flags & CMD_TIME_PIPELINE) == 0) &&
41 ((command->flags & CMD_INVERT_RETURN) == 0))
42*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
43--- patchlevel.h Mon Oct 16 14:22:54 2006
44***************
45*** 26,30 ****
46 looks for to find the patch level (for the sccs version string). */
47
48! #define PATCHLEVEL 47
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 48
55
56 #endif /* _PATCHLEVEL_H_ */
This page took 0.027755 seconds and 4 git commands to generate.