Page MenuHomeFreeBSD

cp: Fix dead link case.
ClosedPublic

Authored by des on May 8 2025, 6:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 1, 12:33 PM
Unknown Object (File)
Sep 12 2025, 8:56 AM
Unknown Object (File)
Sep 11 2025, 12:32 AM
Unknown Object (File)
Sep 9 2025, 4:26 PM
Unknown Object (File)
Sep 7 2025, 8:12 PM
Unknown Object (File)
Sep 5 2025, 1:21 AM
Unknown Object (File)
Sep 5 2025, 12:54 AM
Unknown Object (File)
Sep 3 2025, 5: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 Not Applicable
Unit
Tests Not Applicable