Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af9431798748e1f9dc70f49fce58251784b2b8e2
Ticket: 3545366fffffffffffffffffffffffffffffffff
Win32 link normalization test failures
User & Date: nijtmans on 2012-07-19 22:15:23
Changes

  1. icomment:
    >Is the result of [file norm c:] meant to be the working directory?
    
    On Windows, each drive has its own working directory, Tcl
    only has a single global working directory. Therefore
    the behavior is not 100% what people would expect,
    but it's the current behavior of tclsh.
    
    Compare with:
    =======================
    C:\>cd c:\AMD
    c:\AMD>dir c:
     Directory of c:\AMD
    
    19-07-2012  17:07    <DIR>          .
    19-07-2012  17:07    <DIR>          ..
                   0 File(s)              0 bytes
                   2 Dir(s)  445.538.279.424 bytes free
    c:\AMD>cd t:\scratch
    c:\AMD>dir c:
     Directory of c:\AMD
    
    19-07-2012  17:07    <DIR>          .
    19-07-2012  17:07    <DIR>          ..
                   0 File(s)              0 bytes
                   2 Dir(s)  445.538.197.504 bytes free
    c:\AMD>dir t:
     Directory of t:\scratch
    
    19-07-2012  17:07    <DIR>          .
    19-07-2012  17:07    <DIR>          ..
                   0 File(s)         12.288 bytes
                   2 Dir(s)     714.899.456 bytes free
    c:\AMD>
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"