GNU bug report logs - #7365
stat bug: %Z appends .000000000

Previous Next

Package: coreutils;

Reported by: IgnorantGuru <ignorantguru <at> users.sourceforge.net>

Date: Wed, 10 Nov 2010 16:30:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: IgnorantGuru <ignorantguru <at> users.sourceforge.net>
Subject: bug#7365: closed (Re: bug#7365: stat bug: %Z appends .000000000)
Date: Sun, 14 Nov 2010 18:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7365: stat bug: %Z appends .000000000

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7365 <at> debbugs.gnu.org.

-- 
7365: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7365
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: IgnorantGuru <ignorantguru <at> users.sourceforge.net>
Cc: Eric Blake <eblake <at> redhat.com>, 7365-done <at> debbugs.gnu.org
Subject: Re: bug#7365: stat bug: %Z appends .000000000
Date: Sun, 14 Nov 2010 19:09:07 +0100
IgnorantGuru wrote:
> Thanks for the explanation - I definitely think maintaining backward
> compatibility is a better approach.  There is far too much breakage of
> software in linux as it is.

coreutils-8.7 (just released) is better in this respect.
I'm marking this issue as "done".

[Message part 3 (message/rfc822, inline)]
From: IgnorantGuru <ignorantguru <at> users.sourceforge.net>
To: bug-coreutils <at> gnu.org
Cc: IgnorantGuru <ignorantguru <at> users.sourceforge.net>
Subject: stat bug: %Z appends .000000000
Date: Wed, 10 Nov 2010 07:59:13 -0700
$ stat -c %Z examplefile 
1289397609.000000000

stat (GNU coreutils) 8.6 installed from Arch Linux repos, executing in a bash shell.

This behavior changed recently - didn't used to have the .000000000 which breaks scripts that use stat.  eg
line 297: ((: 1289301692.000000000: syntax error: invalid arithmetic operator (error token is ".000000000")



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

Previous Next


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