diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-02-09 09:00:47 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-09 22:43:25 +0100 |
commit | a5f97bb41ca46eb493070328566a32e4314bdbb0 (patch) | |
tree | e4ece21b217afc356198cd4aa275f0c815c27d01 /package/busybox/busybox-1.18.2/busybox-1.18.2-hush.patch | |
parent | 8d3e6abc6b7120e7d2b84cac07237e67429e2283 (diff) |
busybox: bump to version 1.18.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.18.2/busybox-1.18.2-hush.patch')
-rw-r--r-- | package/busybox/busybox-1.18.2/busybox-1.18.2-hush.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/package/busybox/busybox-1.18.2/busybox-1.18.2-hush.patch b/package/busybox/busybox-1.18.2/busybox-1.18.2-hush.patch deleted file mode 100644 index d08e5194d..000000000 --- a/package/busybox/busybox-1.18.2/busybox-1.18.2-hush.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- busybox-1.18.2/shell/hush.c -+++ busybox-1.18.2-hush/shell/hush.c -@@ -4123,15 +4123,26 @@ static struct pipe *parse_stream(char ** - && dest.length == 0 && !dest.has_quoted_part - ) { - /* This newline can be ignored. But... -- * without the below check, interactive shell -- * will ignore even lines with bare <newline>, -- * and show the continuation prompt: -+ * Without check #1, interactive shell -+ * ignores even bare <newline>, -+ * and shows the continuation prompt: - * ps1_prompt$ <enter> -- * ps2> _ <=== wrong prompt, should be ps1 -+ * ps2> _ <=== wrong, should be ps1 -+ * Without check #2, "cmd & <newline>" -+ * is similarly mistreated. -+ * (BTW, this makes "cmd & cmd" -+ * and "cmd && cmd" non-orthogonal. -+ * Really, ask yourself, why -+ * "cmd && <newline>" doesn't start -+ * cmd but waits for more input? -+ * No reason...) - */ - struct pipe *pi = ctx.list_head; -- if (pi->num_cmds != 0) -+ if (pi->num_cmds != 0 /* check #1 */ -+ && pi->followup != PIPE_BG /* check #2 */ -+ ) { - continue; -+ } - } - /* Treat newline as a command separator. */ - done_pipe(&ctx, PIPE_SEQ); |