[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] better diagnostics for seq
From: |
Steven Schubiger |
Subject: |
Re: [PATCH] better diagnostics for seq |
Date: |
Mon, 18 Feb 2008 16:37:47 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Pádraig Brady <address@hidden> wrote:
> Seems sensible. This is what I get on a reasonably recent tree:
>
> $ ./seq -f% 1
> ./seq: memory exhausted
>
> Note however that on gutsy I get the expected:
>
> $ seq -f% 1
> seq: invalid format string: `%'
> Try `seq --help' for more information.
>
> So perhaps you could use the existing patch/logic from gutsy?
FWIW, with the patched version I get:
$ ./src/seq -f% 1
./src/seq: no % directive
Should we be additionally calling usage (EXIT_FAILURE); where now
error() with first argument as EXIT_FAILURE is being invoked?
Steven Schubiger