summaryrefslogtreecommitdiff
path: root/subst.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:06:49 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:06:49 -0500
commitc184f64511d31b4d986a1c545b3cb1461f2b7011 (patch)
tree29b2d5500969ddec28f8a1176bdab904a1c9f93f /subst.c
parent1c3567dccbe4c1635fb8e8968df71f70d98fd567 (diff)
downloadbash-c184f64511d31b4d986a1c545b3cb1461f2b7011.tar.gz
commit bash-20070419 snapshot
Diffstat (limited to 'subst.c')
-rw-r--r--subst.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/subst.c b/subst.c
index 8df0e49f..74ae998d 100644
--- a/subst.c
+++ b/subst.c
@@ -7698,6 +7698,8 @@ exp_jump_to_top_level (v)
expand_no_split_dollar_star = 0; /* XXX */
expanding_redir = 0;
+ top_level_cleanup (); /* from sig.c */
+
jump_to_top_level (v);
}
@@ -7915,7 +7917,7 @@ glob_expand_word_list (tlist, eflags)
else if (fail_glob_expansion != 0)
{
report_error (_("no match: %s"), tlist->word->word);
- jump_to_top_level (DISCARD);
+ exp_jump_to_top_level (DISCARD);
}
else if (allow_null_glob_expansion == 0)
{