diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-13 22:49:59 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-13 22:49:59 +0100 |
commit | 5f263f406c99ebdf7d9c850c72f67ea0da095662 (patch) | |
tree | a443f70f83711fc545bbb9bdf1c5b29b55e03fd6 /miscutils | |
parent | e755e30402e1e8071563e03f442998cac162f295 (diff) | |
download | busybox-5f263f406c99ebdf7d9c850c72f67ea0da095662.tar.gz |
bc: fix "dc only" bug
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/bc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index 1f0802a4d..606037abc 100644 --- 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); |