← Commit list

9811ad02b

Denys Vlasenko
Denys Vlasenko
2018-12-12
SUCCESS Duration: 152s

Subject

bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y config

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/bc.c+1 -1
@@ -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);