ash: [PARSER] Do not show prompts in expandstr
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Oct 2016 19:17:52 +0000 (21:17 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Oct 2016 19:17:52 +0000 (21:17 +0200)
commit2a6d29ad5ce652c03ed8324a0d14f62594f2dd84
treed290f3f0c703e9af629bf00398780863764278be
parent579ad107a69690efc17401c487b06e89d9e8a91d
ash: [PARSER] Do not show prompts in expandstr

Upstream patch:

    Date: Thu, 27 Dec 2007 13:57:07 +1100
    [PARSER] Do not show prompts in expandstr

    Once I fixed the previous problem it became apparent that we never dealt
    with prompts with new-lines in them correctly.  The problem is that we
    showed a secondary prompt for each of them.

    This patch disables prompt generation in expandstr.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
function                                             old     new   delta
expandstr                                            102     127     +25

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c