Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae0ee7e815ace56ed3018b79439ec16865d95446
Ticket: 3389978fffffffffffffffffffffffffffffffff
Support for paths longer than MAX_PATH on Windows
User & Date: jan.nijtmans on 2014-04-11 07:16:11
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closer changed to: "nobody"
  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. login: "jan.nijtmans"
  5. mimetype: "text/plain"
  6. severity changed to: "Minor"