1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00
Files
src/bin
Dag-Erling Smørgrav 54808d5041 cp: Fix copying the root directory
When the source of the copy operation is the root directory, we should
neither append it to the destination path on FTS_D nor trim it back off
on FTS_DP.

Approved by:	re (cperciva)
PR:		291132
MFC after:	3 days
Fixes:          82fc0d09e8 ("cp: Partly restore symlink folllowing.")
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53863

(cherry picked from commit fe836c5012)
(cherry picked from commit c4843e5805)
2025-11-23 08:38:48 -08:00
..
2025-11-23 08:38:48 -08:00
2025-09-01 18:51:45 +02:00
2025-06-20 22:24:10 +00:00
2025-10-09 12:16:04 +00:00
2024-10-14 10:26:17 -07:00
2025-10-01 11:35:10 +01:00
2024-10-14 10:26:17 -07:00