Page MenuHomeFreeBSD

Preserve hard & symbolic links when modifying source file
ClosedPublic

Authored by emaste on Jan 26 2015, 6:50 PM.
Tags
None
Referenced Files
F131695626: D1682.id3447.diff
Fri, Oct 10, 10:18 AM
Unknown Object (File)
Fri, Oct 10, 6:46 AM
Unknown Object (File)
Thu, Oct 9, 4:12 PM
Unknown Object (File)
Thu, Oct 2, 8:21 PM
Unknown Object (File)
Aug 30 2025, 1:09 PM
Unknown Object (File)
Aug 25 2025, 5:03 PM
Unknown Object (File)
Aug 2 2025, 12:59 PM
Unknown Object (File)
Jul 7 2025, 11:31 AM

Details

Summary

Strip is often used to modify existing files, rather than creating new files. If the existing file has hard links or is a symbolic link, act as if editing the file in place and preserve the links.

Reported by: luigi (on FreeBSD-current)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Preserve hard & symbolic links when modifying source file.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a subscriber: Unknown Object (MLST).
rpaulo added a reviewer: rpaulo.
This revision is now accepted and ready to land.Jan 28 2015, 7:24 AM
imp added a reviewer: imp.
emaste updated this revision to Diff 3500.

Closed by commit rS277843 (authored by @emaste).