mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-15 16:26:01 +02:00
split a long line
This commit is contained in:
3
src/tr.c
3
src/tr.c
@@ -891,7 +891,8 @@ find_bracketed_repeat (const struct E_string *es, size_t start_idx,
|
||||
++digit_str;
|
||||
--digit_str_len;
|
||||
}
|
||||
if (xstrtoul (digit_str, &d_end, base, &tmp_ulong, NULL) != LONGINT_OK
|
||||
if (xstrtoul (digit_str, &d_end, base, &tmp_ulong, NULL)
|
||||
!= LONGINT_OK
|
||||
|| BEGIN_STATE < tmp_ulong
|
||||
|| d_end - digit_str != digit_str_len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user