aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-12 23:25:13 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-12 23:25:13 +0100
commit9811ad02bdbd9dbec9f1e929808d305d4ebb0f14 (patch)
treef7085b57e769d1c0e0fbce1b62c1b8fec8400558
parentc2265f526ee638fa6f9cbb6e13be69e49e1a0f71 (diff)
downloadbusybox-w32-9811ad02bdbd9dbec9f1e929808d305d4ebb0f14.tar.gz
busybox-w32-9811ad02bdbd9dbec9f1e929808d305d4ebb0f14.tar.bz2
busybox-w32-9811ad02bdbd9dbec9f1e929808d305d4ebb0f14.zip
bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y config
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--miscutils/bc.c2
1 files changed, 1 insertions, 1 deletions
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)
3038 // This check makes sense only if size_t is (much) larger than BC_MAX_STRING. 3038 // This check makes sense only if size_t is (much) larger than BC_MAX_STRING.
3039 if (SIZE_MAX > (BC_MAX_STRING | 0xff)) { 3039 if (SIZE_MAX > (BC_MAX_STRING | 0xff)) {
3040 if (len > BC_MAX_STRING) 3040 if (len > BC_MAX_STRING)
3041 RETURN_STATUS(("string too long: must be [1,"BC_MAX_STRING_STR"]")); 3041 RETURN_STATUS(bc_error("string too long: must be [1,"BC_MAX_STRING_STR"]"));
3042 } 3042 }
3043 bc_vec_string(&l->t.v, len, l->buf + l->i); 3043 bc_vec_string(&l->t.v, len, l->buf + l->i);
3044 3044