Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 469515a01d2a38c4d8b54a4dee5a2d2bda41911c
Ticket: 3092089fffffffffffffffffffffffffffffffff
[file normalize] can remove path components
User & Date: dunkfan on 2011-12-12 21:47:09
Changes

  1. foundin changed to: "obsolete: 8.5.11"
  2. icomment:
    Found the culprit: tclWinFile.c and the NativeReadReparse call. 
    When I replace GENERIC_READ with 0, in the CreateFileProc and remake then:
    
    file normalize {C:\Documents and Settings\Guest} 
    
    returns: 
    
    C:\Users\Guest as expected, instead of the incorrect C:\Documents and Settings.
    cd and pwd also work correctly after crossing the Junction. :-)
    
    According to the MSDN using 0 implies theat the file is only queried and not accessed. That seems to cure it! Please patch!
    
    
  3. login: "dunkfan"
  4. mimetype: "text/plain"
  5. username: "dunkfan"