projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5875be4
)
Patch from Jean Wolter
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 8 Sep 2003 23:19:12 +0000
(23:19 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 8 Sep 2003 23:19:12 +0000
(23:19 -0000)
expr currently always adds even if told to subtract
coreutils/expr.c
patch
|
blob
|
history
diff --git
a/coreutils/expr.c
b/coreutils/expr.c
index f58f4b06293989c97dbee8e883db1399e54c5a68..c2f5d4f3e9001f26ae54f3821de4c6a014102e7d 100644
(file)
--- 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++;