diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-27 18:07:29 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-27 18:07:29 +0200 |
commit | e6f6d829403156797fabc4690d497fdf7cd6f7d1 (patch) | |
tree | d2118b46c4bfca2ae806f24d28046eda9190eab5 /shell/hush.c | |
parent | 20cc390b9bb33cd0ab05c8bbfcd24babad7ec204 (diff) | |
download | busybox-w32-1_14_1.tar.gz busybox-w32-1_14_1.tar.bz2 busybox-w32-1_14_1.zip |
hush: more fixes from trunk; bump version to 1.14.11_14_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index 8c3e7c551..735cb4cee 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -50,7 +50,6 @@ | |||
50 | * | 50 | * |
51 | * TODOs: | 51 | * TODOs: |
52 | * grep for "TODO" and fix (some of them are easy) | 52 | * grep for "TODO" and fix (some of them are easy) |
53 | * $var refs in function do not pick up values set by "var=val func" | ||
54 | * builtins: ulimit | 53 | * builtins: ulimit |
55 | * follow IFS rules more precisely, including update semantics | 54 | * follow IFS rules more precisely, including update semantics |
56 | * | 55 | * |
@@ -4110,8 +4109,11 @@ static int run_list(struct pipe *pi) | |||
4110 | } | 4109 | } |
4111 | #endif | 4110 | #endif |
4112 | #if ENABLE_HUSH_FUNCTIONS | 4111 | #if ENABLE_HUSH_FUNCTIONS |
4113 | if (G.flag_return_in_progress == 1) | 4112 | if (G.flag_return_in_progress == 1) { |
4114 | goto check_jobs_and_break; | 4113 | /* same as "goto check_jobs_and_break" */ |
4114 | checkjobs(NULL); | ||
4115 | break; | ||
4116 | } | ||
4115 | #endif | 4117 | #endif |
4116 | } else if (pi->followup == PIPE_BG) { | 4118 | } else if (pi->followup == PIPE_BG) { |
4117 | /* What does bash do with attempts to background builtins? */ | 4119 | /* What does bash do with attempts to background builtins? */ |