From 07f6b95d8f75cd38262b02976ff92a5d6d328950 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 8 Sep 2003 23:19:12 +0000 Subject: [PATCH] Patch from Jean Wolter expr currently always adds even if told to subtract --- coreutils/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.25.1