Skip to content
Tcl Source Code History Of Ticket 875545270d5f3818
Login

History Of Ticket 875545270d5f3818

Artifacts Associated With Ticket 875545270d5f3818

  1. Ticket change [1a04e2d69d] (rid 156247) by raymin on 2017-09-14 05:57:17:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "8.6.7"
    6. is_private initialized to: "0"
    7. login: "raymin"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "55ed3e0299ccb4fe6cc51ac1bfa759035ac8d705"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "raymin"
    14. subsystem initialized to: "38. Init - Library - Autoload"
    15. title initialized to: "tcl::CopyDirectory copying /a/a /x/a/a error"
    16. type initialized to: "Bug"
  2. Ticket change [f9d02b912d] (rid 259337) by serhiy.storchaka on 2026-10-19 18:54:12:

    1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
    2. 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.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"