aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expr.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-08 23:19:12 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-08 23:19:12 +0000
commit97629dbddfb13dc443e75eec539b75bf61febbac (patch)
tree103eb54c3b1962882140d46746c77ddc805230fa /coreutils/expr.c
parent972bad0e238bc2fbb786808b8f5334d34d305990 (diff)
downloadbusybox-w32-97629dbddfb13dc443e75eec539b75bf61febbac.tar.gz
busybox-w32-97629dbddfb13dc443e75eec539b75bf61febbac.tar.bz2
busybox-w32-97629dbddfb13dc443e75eec539b75bf61febbac.zip
Patch from Jean Wolter
expr currently always adds even if told to subtract git-svn-id: svn://busybox.net/trunk/busybox@7432 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r--coreutils/expr.c2
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)
438 if (nextarg ("+")) 438 if (nextarg ("+"))
439 op = '+'; 439 op = '+';
440 else if (nextarg ("-")) 440 else if (nextarg ("-"))
441 op = '+'; 441 op = '-';
442 else 442 else
443 return l; 443 return l;
444 args++; 444 args++;