git: cpdup - Bump version, add usec timestamp precision

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 6 00:27:27 PST 2020


commit 0212bfce3dfe4ea35892f1f079e502251e8c6f56
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 6 00:21:44 2020 -0800

    cpdup - Bump version, add usec timestamp precision
    
    * cpdup will now run utimes() with microsecond precision (the
      most it can handle), if possible.  It previously only used
      seconds precision.
    
    * Compatibilty with older cpdup's is maintained for remote copies
      (though it will warn you of the version mismatch).  Older cpdup's
      only transfer the seconds field.
    
    * cpdup still only uses the seconds field when comparing files,
      in order to maintain maximum compatibility between operating systems
      and filesystems.

Summary of changes:
 bin/cpdup/cpdup.c   | 35 ++++++++++++++++++++++++++++++++---
 bin/cpdup/hcproto.c | 33 +++++++++++++++++++++++++++++++--
 bin/cpdup/hcproto.h |  5 ++++-
 3 files changed, 67 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0212bfce3dfe4ea35892f1f079e502251e8c6f56


-- 
DragonFly BSD source repository



More information about the Commits mailing list