On Thu, Jan 6, 2011 at 3:06 AM, Bob Liu <[email protected]> wrote: >> Please post your .config >> > > Attached, Thanks !
Indeed it's a new bug. Thankfully, it's harmless. I added the fix to http://busybox.net/downloads/fixes-1.18.1/busybox-1.18.1-hush.patch it is in this hunk: if (IS_NULL_CMD(ctx.command) && dest.length == 0 && !dest.has_quoted_part ) { - continue; + /* This newline can be ignored. But... + * without the below check, interactive shell + * will ignore even lines with bare <newline>, + * and show the continuation prompt: + * ps1_prompt$ <enter> + * ps2> _ <=== wrong prompt, should be ps1 + */ + struct pipe *pi = ctx.list_head; + if (pi->num_cmds != 0) + continue; } /* Treat newline as a command separator. */ done_pipe(&ctx, PIPE_SEQ); -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
