[git commit] bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y config
Denys Vlasenko
vda.linux at googlemail.com
Wed Dec 12 22:25:13 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=9811ad02bdbd9dbec9f1e929808d305d4ebb0f14
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
miscutils/bc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/miscutils/bc.c b/miscutils/bc.c
index 70ef0fa4a..c7e0e39e0 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -3038,7 +3038,7 @@ static BC_STATUS zbc_lex_string(BcLex *l)
// This check makes sense only if size_t is (much) larger than BC_MAX_STRING.
if (SIZE_MAX > (BC_MAX_STRING | 0xff)) {
if (len > BC_MAX_STRING)
- RETURN_STATUS(("string too long: must be [1,"BC_MAX_STRING_STR"]"));
+ RETURN_STATUS(bc_error("string too long: must be [1,"BC_MAX_STRING_STR"]"));
}
bc_vec_string(&l->t.v, len, l->buf + l->i);
More information about the busybox-cvs
mailing list