Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 490dc21048346917e2538e7de52379452044ef950f7f691f2084f4fa7532941d
Ticket: 076ed602e1774f23ea9619674fd40bb9ab0be43e
Windows: [file delete -force] on a tree deeper than MAX_PATH returns OK and deletes nothing
User & Date: serhiy.storchaka on 2026-10-17 14:06:09
Changes

  1. icomment:
    Proposed fix in branch [/timeline?r=win-delete-long-path|win-delete-long-path]: the recursive delete uses the extended path prefix <tt>\\?\</tt>, so the paths inside the tree can exceed <tt>MAX_PATH</tt>. It also no longer stops at an entry that someone else deleted meanwhile (or whose deletion is pending), which left the rest of the tree behind while <nowiki>[file delete]</nowiki> returned OK. Tests winFCmd-9.5 and 9.6.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"