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)
Tue, May 26, 8:55 PM
Unknown Object (File)
Sun, May 17, 1:39 AM
Unknown Object (File)
Sat, May 16, 6:14 PM
Unknown Object (File)
Fri, May 15, 7:48 PM
Unknown Object (File)
Thu, May 14, 2:07 PM
Unknown Object (File)
Thu, May 14, 9:18 AM
Unknown Object (File)
Wed, May 13, 5:38 PM
Unknown Object (File)
Sun, May 10, 4: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