Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6e80d0e367f38e35b014952db3859b1c7326886e
Ticket: 3092089fffffffffffffffffffffffffffffffff
[file normalize] can remove path components
User & Date: dunkfan on 2010-10-27 16:24:27
Changes

  1. icomment:
    No. I can reproduce this in 8.5.5 and 8.4.19. However, the problem is appearing more often as we are moving away from XP to Vista/Win7
    
    Here is a snip from 8.4.19 running on Windows Vista Business 32 English
    
    % cd {C:/Documents and Settings}
    % cd Default
    % file normalize .
    C:/Documents and Settings
    % info patchlevel
    8.4.19
    %
    
    In a cmd I see the following entry for C:\Documents and Settings, this is causing the trouble
    
    dir /a c:\
    
    02/11/2006  15:02    <JUNCTION>     Documents and Settings [C:\Users]
    
    One of the guys here had a go at solving the normalized problem with such paths having googled for an answer. I'm including a small prog that may be of use. Im not sure how it works or what it does but seeing the API calls used may be of help. A NULL arg to CreateFile helps get the job done.
    
    
  2. login: "dunkfan"
  3. mimetype: "text/plain"
  4. username: "dunkfan"