diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-08-05 17:07:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-08-05 18:11:15 +0200 |
commit | 1c5eb88cd84c90e4c3d014f4abc8f8310c008842 (patch) | |
tree | 50cff50b137d834599d2e9690ebf4802c5a87cf1 /applets/usage.c | |
parent | 58eb805c2c453c6764acbd65f5604465438d9272 (diff) | |
download | busybox-1c5eb88cd84c90e4c3d014f4abc8f8310c008842.tar.gz |
ash: eval: Restore input files in evalcommand
Upstream commit:
Date: Tue, 27 Mar 2018 00:39:35 +0800
eval: Restore input files in evalcommand
When evalcommand invokes a command that modifies parsefile and
then bails out without popping the file, we need to ensure the
input file is restored so that the shell can continue to execute.
Reported-by: Martijn Dekker <martijn@inlv.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
function old new delta
unwindfiles - 20 +20
evalcommand 1635 1653 +18
getoptscmd 584 595 +11
popallfiles 20 10 -10
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/1 up/down: 49/-10) Total: 39 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets/usage.c')
0 files changed, 0 insertions, 0 deletions