Paul Eggert <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > > 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. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
