Bug#471375: find -printf %TT displays fraction of the second

2008-03-18 Thread Blaž Lorger
Package: findutils 
Version: 4.4.0-1

After upgrading findutils from 4.2.33-1 to 4.4.0-1 behaviour of of
find -printf %TT
changes.
Time is displayed in format hh:mm:ss.ff instead of expected hh:mm:ss

This has also unfortunate consequences for package backup2l, since package 
relies on output of find which includes %TT, to determine if file has changed 
since the last backup.

Reverting findutils to version 4.2.33-1 solves the problem.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#471375: find -printf %TT displays fraction of the second

2008-03-18 Thread James Youngman
On Mon, Mar 17, 2008 at 8:24 PM, Blaž Lorger [EMAIL PROTECTED] wrote:
 Package: findutils
  Version: 4.4.0-1

  After upgrading findutils from 4.2.33-1 to 4.4.0-1 behaviour of of
 find -printf %TT
  changes.
  Time is displayed in format hh:mm:ss.ff instead of expected hh:mm:ss

Yes, the NEWS file mentions this for 4.4.0:

The -printf format specifiers also support sub-second time stamps:
  atime   ctime  mtime
  %a  %c %t
  %AS %CS%TS
  %AT %CT%TT
  %A+ %C+%T+
  %AX %CX%TX

Also, if you are backing files up, you should probably use %CT rather
than (or as well as) %TT, in case the only change to the file was in
fact a mode or ownership change.

  This has also unfortunate consequences for package backup2l, since package
  relies on output of find which includes %TT, to determine if file has changed
  since the last backup.

  Reverting findutils to version 4.2.33-1 solves the problem.

Yes, this somewhat backward-incompatible change was introduced in
findutils-4.3.3, on 2007-04-15.

James.