bug-coreutils
[Top][All Lists]
Advanced

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

printf produces no output for %f directive


From: Bruno Haible
Subject: printf produces no output for %f directive
Date: Fri, 19 Oct 2007 12:33:53 +0200
User-agent: KMail/1.5.4

Hi,

On a glibc 2.3.6 system, 'printf' produces no output for a %f directive in
some cases:

$ /packages/gnu/bin/printf --version
printf (GNU coreutils) 6.9
$ /packages/gnu/bin/printf %.100000000f 17
<no output>
$ echo $?
0

I would have expected an error message and an exit status of 1.

Likewise for %e instead of %f.

100000000 is far less than INT_MAX.

Bruno





reply via email to

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