aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-12 21:41:29 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-12 21:41:29 +0000
commit99fcd168cc7d36e054bb29628b5eb023fc9f51b4 (patch)
tree0cb5961606795454bcd2aed65977d43d28ad5d77 /shell/cmdedit.c
parent238e354b586ca3f7b68e8baeab7444e523493a12 (diff)
downloadbusybox-99fcd168cc7d36e054bb29628b5eb023fc9f51b4.tar.gz
Wolfgang Denk writes:
He, there is a bug in HUSH's handling of "if" / "elif" commands: $ if true > then > echo 1 > elif > true > then > echo 2 > elif > true > then > echo 3 > else > echo 4 > fi 1 2 3 $ The same bug exists in all versions of HUSH from BB v0.60.x up to and including v1.00-pre9. The attached patch fixes this: $ if true > then > echo 1 > elif > true > then > echo 2 > elif > true > then > echo 3 > else > echo 4 > fi 1 $ Best regards, Wolfgang Denk
Diffstat (limited to 'shell/cmdedit.c')
0 files changed, 0 insertions, 0 deletions