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)
Mon, Apr 27, 5:48 AM
Unknown Object (File)
Sat, Apr 25, 10:05 PM
Unknown Object (File)
Tue, Apr 21, 2:01 PM
Unknown Object (File)
Tue, Apr 21, 8:39 AM
Unknown Object (File)
Mon, Apr 20, 8:37 AM
Unknown Object (File)
Sun, Apr 19, 4:00 PM
Unknown Object (File)
Sun, Apr 19, 1:46 PM
Unknown Object (File)
Mon, Apr 13, 4:33 AM
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