cpdup - Add support for lchmod(), lutimes(), and lchflags()
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 30 Oct 2020 21:43:52 +0000 (14:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 30 Oct 2020 21:43:52 +0000 (14:43 -0700)
commit2b7dbe2084a76005b48edbb66f1a7ac6c351ebfb
treebec76c3bae6eebb2f93f7b0c2428b38039bdc058
parent56254923026387d8dba5d269d426e6b6b3ad282d
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
bin/cpdup/cpdup.c
bin/cpdup/cpdup.h
bin/cpdup/hcproto.c
bin/cpdup/hcproto.h