Page MenuHomeFreeBSD

cp: Fix dead link case.
ClosedPublic

Authored by des on May 8 2025, 6:03 PM.
Tags
None
Referenced Files
F126965695: D50257.id155240.diff
Tue, Aug 26, 3:06 AM
Unknown Object (File)
Mon, Aug 25, 10:51 AM
Unknown Object (File)
Fri, Aug 22, 2:23 AM
Unknown Object (File)
Tue, Aug 19, 9:34 PM
Unknown Object (File)
Mon, Aug 18, 7:43 PM
Unknown Object (File)
Sat, Aug 2, 2:34 AM
Unknown Object (File)
Tue, Jul 29, 4:09 AM
Unknown Object (File)
Jul 14 2025, 1:29 PM
Subscribers

Details

Summary

The test case was a) not doing what I intended it to do and b) missing
a third possible configuration. Fix the test case, and fix the code
by not setting the beneath flag (which restricts operations to the
destination tree) unless we are recursing.

Fixes: 82fc0d09e862
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64010
Build 60894: arc lint + arc unit