diff options
author | Glenn L McGrath | 2003-09-08 23:19:12 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-09-08 23:19:12 +0000 |
commit | 07f6b95d8f75cd38262b02976ff92a5d6d328950 (patch) | |
tree | 103eb54c3b1962882140d46746c77ddc805230fa /coreutils/expr.c | |
parent | 5875be406e71e0edbb6cc1873f8c5526151790cf (diff) | |
download | busybox-07f6b95d8f75cd38262b02976ff92a5d6d328950.zip busybox-07f6b95d8f75cd38262b02976ff92a5d6d328950.tar.gz |
Patch from Jean Wolter
expr currently always adds even if told to subtract
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r-- | coreutils/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c index f58f4b0..c2f5d4f 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c @@ -438,7 +438,7 @@ static VALUE *eval3 (void) if (nextarg ("+")) op = '+'; else if (nextarg ("-")) - op = '+'; + op = '-'; else return l; args++; |