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:
628bf1b
)
bc: it's not clear bc_vm_file() always exits on errors, remove ERRORS_ARE_FATAL
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 10 Dec 2018 19:56:08 +0000
(20:56 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 10 Dec 2018 19:56:44 +0000
(20:56 +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 6dc0f54411bb532078ae0a80dafdfd0a3b385bbf..c756d8cd6284ba8c76529da13fc59fedcc71d271 100644
(file)
--- a/
miscutils/bc.c
+++ b/
miscutils/bc.c
@@
-7118,9
+7118,6
@@
err:
free(data);
return s;
}
-#if ERRORS_ARE_FATAL
-# define bc_vm_file(...) (bc_vm_file(__VA_ARGS__), BC_STATUS_SUCCESS)
-#endif
static BcStatus bc_vm_stdin(void)
{
@@
-7421,7
+7418,7
@@
static BcStatus bc_vm_exec(void)
return s;
}
- if (IS_BC || (option_mask32 & BC_FLAG_I))
+ if (IS_BC || (option_mask32 & BC_FLAG_I))
s = bc_vm_stdin();
if (!s && !BC_PARSE_CAN_EXEC(&G.prs))