diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-15 07:24:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-15 07:24:39 +0000 |
commit | a9825dd2a693c10593125fdc046d8d21a372c207 (patch) | |
tree | 8e15595e793206ec449f87cd3655c1d9a5a855e8 | |
parent | 92f4be12b1e2f8e77260b34cc609a5b850c8719c (diff) | |
download | coreutils-a9825dd2a693c10593125fdc046d8d21a372c207.tar.xz |
(parse_field_count): Handle the case where overflow
and invalid suffix char are both reported.
-rw-r--r-- | src/sort.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |