From a9825dd2a693c10593125fdc046d8d21a372c207 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 15 Oct 2003 07:24:39 +0000 Subject: (parse_field_count): Handle the case where overflow and invalid suffix char are both reported. --- src/sort.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sort.c b/src/sort.c index 5fc6640bb..5945c867a 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2112,6 +2112,7 @@ parse_field_count (char const *string, size_t *val, char const *msgid) break; /* Fall through. */ case LONGINT_OVERFLOW: + case LONGINT_OVERFLOW | LONGINT_INVALID_SUFFIX_CHAR: if (msgid) error (SORT_FAILURE, 0, _("%s: count `%.*s' too large"), _(msgid), (int) (suffix - string), string); -- cgit v1.2.3-54-g00ecf