When using diff3 to perform a three-way merge, etcupdate lost the destination
file's metadata. The metadata from the temporary file were used instead.
This was unpleasant for rc.d scripts, which require execute permission.
Use "cat >" to overwrite the destination file's contents while preserving its
metadata.
Details
Details
- Reviewers
jhb bapt - Commits
- rS305620: etcupdate: preserve the metadata of the destination file
All kyua tests still pass, although they don't test this case.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5088 Build 5174: CI src build Jenkins Build 5173: arc lint + arc unit