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:
e755e30
)
bc: fix "dc only" bug
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 13 Dec 2018 21:49:59 +0000
(22:49 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 13 Dec 2018 21:49:59 +0000
(22:49 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c
patch
|
blob
|
history
diff --git
a/miscutils/bc.c
b/miscutils/bc.c
index 1f0802a4d65a9fca1c6bd2518091b15e441a8b5f..606037abc0348ba24c208df88faf74dfaae14b9d 100644
(file)
--- a/
miscutils/bc.c
+++ b/
miscutils/bc.c
@@
-7458,8
+7458,7
@@
static int bc_vm_init(const char *env_len)
G.prog.len = bc_vm_envLen(env_len);
bc_vec_init(&G.files, sizeof(char *), NULL);
- if (IS_BC)
- IF_BC(bc_vm_envArgs();)
+ IF_BC(if (IS_BC) bc_vm_envArgs();)
bc_program_init();
bc_parse_create(&G.prs, BC_PROG_MAIN);