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

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 30 October 2020 21:43 UTC

- 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.

2b7dbe2084 cpdup - Add support for lchmod(), lutimes(), and lchflags()
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(-)

Upstream: gitweb.dragonflybsd.org


  • Share