Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: db28a495ac7db06995419ad3f7f4c699576ec5ad
Ticket: 3389978fffffffffffffffffffffffffffffffff
Support for paths longer than MAX_PATH on Windows
User & Date: zoro2 on 2011-08-11 10:25:10
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Currently Tcl does not support extended paths and does not allow modifying its behavior to use it in certain cases. For example:
    
    The following works fine:
    % file mkdir //?/[pwd]/[string repeat Test 50]/[string repeat Test 50]
    
    % llength [glob //?/[pwd]/[string repeat Test 50]/[string repeat Test 50]]
    1
    The following does not work:
    % file mkdir [string repeat Test 50]/[string repeat Test 50]
    can't create directory "TestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest/TestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest": no such file or directory
    % llength [glob //?/[pwd]/[string repeat Test 50]/*]
    couldn't read directory "\\?\D:\temp\TestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest/*": no such file or directory
    
    While being a big rework, perhaps a review of which APIs should not be called as well as addition of \\?\ to full paths should be made to make Tcl support paths longer than MAX_PATH (260) characters?
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "zoro2"
  10. subsystem changed to: "37. File System"
  11. title changed to: "Support for paths longer than MAX_PATH"
  12. type changed to: "RFE"