bash-2.05.patch.1 504 B

123456789101112131415161718192021
  1. --- execute_cmd.c.orig Thu Mar 22 16:17:23 2001
  2. +++ execute_cmd.c Tue Apr 10 11:29:09 2001
  3. @@ -2792,6 +2792,8 @@
  4. if (tc && (flags & CMD_IGNORE_RETURN))
  5. tc->flags |= CMD_IGNORE_RETURN;
  6. + old_shell_function = this_shell_function;
  7. +
  8. if (subshell == 0)
  9. {
  10. begin_unwind_frame ("function_calling");
  11. @@ -2878,6 +2880,8 @@
  12. if (variable_context == 0 || this_shell_function == 0)
  13. make_funcname_visible (0);
  14. +
  15. + this_shell_function = old_shell_function;
  16. return (result);
  17. }