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-w32-5f263f406c99ebdf7d9c850c72f67ea0da095662.tar.gz busybox-w32-5f263f406c99ebdf7d9c850c72f67ea0da095662.tar.bz2 busybox-w32-5f263f406c99ebdf7d9c850c72f67ea0da095662.zip | |
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) | |||
| 7458 | G.prog.len = bc_vm_envLen(env_len); | 7458 | G.prog.len = bc_vm_envLen(env_len); |
| 7459 | 7459 | ||
| 7460 | bc_vec_init(&G.files, sizeof(char *), NULL); | 7460 | bc_vec_init(&G.files, sizeof(char *), NULL); |
| 7461 | if (IS_BC) | 7461 | IF_BC(if (IS_BC) bc_vm_envArgs();) |
| 7462 | IF_BC(bc_vm_envArgs();) | ||
| 7463 | bc_program_init(); | 7462 | bc_program_init(); |
| 7464 | bc_parse_create(&G.prs, BC_PROG_MAIN); | 7463 | bc_parse_create(&G.prs, BC_PROG_MAIN); |
| 7465 | 7464 | ||
