aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-14 11:00:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-14 11:00:23 +0100
commitfc9d26902ba30340d1eef2153cc5823a53e72919 (patch)
tree681582a0be89dc97e7a09eaa448159046b644fc0 /miscutils
parentc06537d9bbeb5d7ad0e310ce7f345699e3cfc90d (diff)
downloadbusybox-fc9d26902ba30340d1eef2153cc5823a53e72919.tar.gz
bc: yet another library shrink
function old new delta bc_lib 1604 1596 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-8) Total: -8 bytes text data bss dec hex filename 980160 485 7296 987941 f1325 busybox_old 980152 485 7296 987933 f131d busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/bc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index dd2d7f22c..f0c323d93 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -7236,7 +7236,7 @@ static const char bc_lib[] ALIGN1 = {
"\n" "}"
"\n" "scale=s"
"\n" "ibase=b"
-"\n" "if(n)return(-r/1)"
+"\n" "if(n)r=-r"
"\n" "return(r/1)"
"\n" "}"
"\n" "define c(x){"