Artifacts Associated With Ticket 875545270d
Ticket change [1a04e2d69d] (rid 156247) by raymin on 2017-09-14 05:57:17:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When I reading init.tcl, I think tcl::CopyDirectory may have a bug. My test is: % tcl::CopyDirectory copying /a/a /x/a/a error copying "/a/a" to "/x/a/a": trying to rename a volume or move a directory into itself
- foundin initialized to: "8.6.7"
- is_private initialized to: "0"
- login: "raymin"
- priority initialized to: "5 Medium"
- private_contact initialized to: "55ed3e0299ccb4fe6cc51ac1bfa759035ac8d705"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "raymin"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "tcl::CopyDirectory copying /a/a /x/a/a error"
- type initialized to: "Bug"
Ticket change [f9d02b912d] (rid 259337) by serhiy.storchaka on 2026-10-19 18:54:12:
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Still present in 8.6, 9.0 and 9.1. The check uses <nowiki>[string first]</nowiki>, so a target that only contains the source path somewhere is rejected. It matters for <nowiki>[file copy]</nowiki> between file systems (from zipfs or a VFS), which uses tcl::CopyDirectory. Proposed fix in branch [/timeline?r=copy-into-itself|copy-into-itself], together with [82049f96f8]: compare the <nowiki>[file split]</nowiki> prefix. Tests init-6.0 and 6.1.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"