diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-09 03:19:12 +0400 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-09 03:19:12 +0400 |
commit | 07f6b95d8f75cd38262b02976ff92a5d6d328950 (patch) | |
tree | 103eb54c3b1962882140d46746c77ddc805230fa /coreutils/expr.c | |
parent | 5875be406e71e0edbb6cc1873f8c5526151790cf (diff) |
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 f58f4b062..c2f5d4f3e 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++; |