GNU bug report logs - #7325
new test failure due to non-portability of printf formats like %05.3s

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Wed, 3 Nov 2010 18:56:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #137 received at 7325 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: Eric Blake <eblake <at> redhat.com>, 7325 <at> debbugs.gnu.org,
	Pádraig Brady <P <at> draigBrady.com>
Subject: Re: bug#7325: new test failure due to non-portability of printf
	formats like %05.3s
Date: Sat, 13 Nov 2010 10:01:21 -0800
On 11/13/2010 02:45 AM, Jim Meyering wrote:

> Here's what I'm planning.

Looks good, thanks, except for NEWS:

> +  a nanosecond-precision floating point time stamp for %X use %.X;

It's fixed-point, not floating point, so I'd remove "floating point".

And in coreutils.texi:

> +precision, @command{stat} uses 9 digits, so @samp{%.X} is equivalent to
> +@samp{%.9X}  When discarding excess precision, time stamps are truncated

There's a period missing after the "@samp{%.9X}" (though ideally the sentence
would be reworded so as to avoid the need for any period after the sample,
as the "%.9X." looks bad when it's printed).




This bug report was last modified 14 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.