[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'head -n 100k@' doesn't report an error

From: Jim Meyering
Subject: Re: 'head -n 100k@' doesn't report an error
Date: Wed, 15 Oct 2003 09:35:07 +0200

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.

I've applied that.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]