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