I found this bug when I was just fooling around:
$ seq -f %10 1
seq: memory exhausted
The problem is that strchr(string, '\0') always succeeds, by
definition. Here's a patch:
Fix bug with "seq -f %10", which is an invalid format.
* src/seq.c (long_double_format): Fix bug that mishandled this ca
Paul Eggert <[EMAIL PROTECTED]> wrote:
> I found this bug when I was just fooling around:
>
> $ seq -f %10 1
> seq: memory exhausted
Hi Paul,
Thanks, but I fixed that two weeks ago:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=b8108fd2ddf7
BTW, that "memory exhausted" diagnost