From: Glenn L McGrath Date: Mon, 8 Sep 2003 23:19:12 +0000 (-0000) Subject: Patch from Jean Wolter X-Git-Tag: 1_00_pre3~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07f6b95d8f75cd38262b02976ff92a5d6d328950;p=oweals%2Fbusybox.git Patch from Jean Wolter expr currently always adds even if told to subtract --- 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++;