[Top][All Lists]
[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
- printf produces no output for %f directive,
Bruno Haible <=
- Re: printf produces no output for %f directive, Jim Meyering, 2007/10/19
- Re: printf produces no output for %f directive, Bruno Haible, 2007/10/19
- Re: printf produces no output for %f directive, Jim Meyering, 2007/10/19
- Re: printf produces no output for %f directive, Andreas Schwab, 2007/10/19
- Re: printf produces no output for %f directive, Eric Blake, 2007/10/19
- Re: printf produces no output for %f directive, Jim Meyering, 2007/10/19
- Re: printf produces no output for %f directive, Jim Meyering, 2007/10/19
- POSIX requires checking all *printf return values?!?, Jim Meyering, 2007/10/19
- Re: POSIX requires checking all *printf return values?!?, Pádraig Brady, 2007/10/19
- Re: POSIX requires checking all *printf return values?!?, Jim Meyering, 2007/10/19