]>
Commit | Line | Data |
---|---|---|
35373510 | 1 | --- bash-2.04/execute_cmd.c.shellfunc Tue Jan 25 11:29:11 2000 |
2 | +++ bash-2.04/execute_cmd.c Tue May 2 21:26:24 2000 | |
3 | @@ -2762,6 +2762,8 @@ | |
4 | if (tc && (flags & CMD_IGNORE_RETURN)) | |
5 | tc->flags |= CMD_IGNORE_RETURN; | |
6 | ||
7 | + old_shell_function = this_shell_function; | |
8 | + | |
9 | if (subshell == 0) | |
10 | { | |
11 | begin_unwind_frame ("function_calling"); | |
12 | @@ -2843,6 +2845,8 @@ | |
13 | ||
14 | if (variable_context == 0 || this_shell_function == 0) | |
15 | make_funcname_visible (0); | |
16 | + | |
17 | + this_shell_function = old_shell_function; | |
18 | ||
19 | return (result); | |
20 | } |