Paul Eggert <address@hidden> wrote:
> I noticed that some combinations of suffixes aren't properly diagnosed
> in coreutils, e.g., 'head -n 100k@' should print an error message but
> doesn't. Here's a patch.
>
> 2003-10-14 Paul Eggert <address@hidden>
>
> Fix some number-parsing bugs, e.g., "head -n 100k@" wasn't
> properly diagnosted.
> * lib/human.c, lib/xstrtoimax.c, lib/xstrtol.c, lib/xstrtol.h,
> lib/xstrtoul.c, lib/xstrtoumax.c: Sync with gnulib.
> * src/sort.c (parse_field_count): Hande the case where overflow
> and invalid suffix char are both reported.
Thanks!
I've applied that.