git: cpdup - Add support for lchmod(), lutimes(), and lchflags()

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Oct 30 14:46:25 PDT 2020


commit 2b7dbe2084a76005b48edbb66f1a7ac6c351ebfb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Oct 30 14:43:52 2020 -0700

    cpdup - Add support for lchmod(), lutimes(), and lchflags()
    
    * Add support for these functions, allowing symlinks to be fully
      replicated.
    
    * Fix issues when the destination of a rename is chflagged in a way
      that causes the rename to fail.
    
    * Delete temporary files when a rename files.
    
    * Set SrcHost/DstHost.version for local sources or targets
      to make version tests easier.
    
    Reported-by: Oliver Fromme

Summary of changes:
 bin/cpdup/cpdup.c   | 104 ++++++++++++++++++++++++++++++++++++++++++++--------
 bin/cpdup/cpdup.h   |  24 ++++++++++++
 bin/cpdup/hcproto.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++--
 bin/cpdup/hcproto.h |   9 ++++-
 4 files changed, 216 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2b7dbe2084a76005b48edbb66f1a7ac6c351ebfb


-- 
DragonFly BSD source repository


More information about the Commits mailing list