summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-29 06:34:25 +0000
committerJim Meyering <jim@meyering.net>2000-02-29 06:34:25 +0000
commitd29f838428a67453dc0bb1f087ff2fb66e50958d (patch)
tree104c40a8a526d8b7f29f08e75061f6ec399efb0c
parent464232e6bb274c178f17cf5ca824a090fde8df7c (diff)
downloadcoreutils-d29f838428a67453dc0bb1f087ff2fb66e50958d.tar.xz
split a long line
-rw-r--r--src/tr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tr.c b/src/tr.c
index 866f6c893..21a82ca84 100644
--- a/src/tr.c
+++ b/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)
{