Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 59e5135dd42401ad2599c24f5a971b9505ce0b84
Ticket: 2571597fffffffffffffffffffffffffffffffff
file normalize breaks file pathtype
User & Date: andreas_kupries on 2009-02-07 00:38:54
Changes

  1. icomment:
    Instead of having something built I am now using the ActiveTcl win32 releases on a virtual win32 test box ...
    
    % source k:/trans/x/pt.tcl
    patchlevel=8.6b1.1
    release...=8.6.0.0.289036/(Wed Jan 28 14:41:35 PST 2009)
    pathtype..=volumerelative
    normalized=C:/a
    pathtype..=relative
    %
    
    % source k:/trans/x/pt.tcl
    patchlevel=8.5.6
    release...=8.5.6.0.289017/(Tue Jan 27 14:06:08 PST 2009)
    pathtype..=volumerelative
    normalized=C:/a
    pathtype..=volumerelative
    %
    
    % source k:/trans/x/pt.tcl
    patchlevel=8.5.5
    release...=8.5.5.0.287690/(Wed Oct 15 20:38:44 PDT 2008)
    pathtype..=volumerelative
    normalized=C:/a
    pathtype..=volumerelative
    %
    
    
    
    Contents of pt.tcl
    
    puts patchlevel=[info patchlevel]
    puts release...=[package provide ActiveTcl]/($activestate::ActiveTcl(buildtime,fmt))
    puts pathtype..=[file pathtype /a]
    puts normalized=[file normalize /a]
    puts pathtype..=[file pathtype /a]
    
    
    The interesting thing here is that the 8.5.6 here is ok, contradicting the other 8.5.6 I mentioned in a previous comment.  ... Redoing the experiment with that tclsh it is now ok too. ... Differences: I called this one in a dos box, the previous experiment used msys bash. This experiment used a script file (pt.tcl), the previous was interactive ...
    
    C:\night-856\builds\win32-ix86\tcl\win\win32-ix86>tclsh85.exe
    % info patchlevel
    8.5.6
    % parray activestate::ActiveTcl
    can't access "activestate::ActiveTcl": parent namespace doesn't exist
    % source k:/trans/x/pt.tcl
    patchlevel=8.5.6
    can't read "activestate::ActiveTcl(buildtime,fmt)": no such variable
    % source k:/trans/x/pt.tcl
    patchlevel=8.5.6
    release...=
    pathtype..=volumerelative
    normalized=C:/a
    pathtype..=volumerelative
    % clock format [file mtime [info nameofex]]
    Tue Jan 27 20:03:43 -0800 2009
    %
    
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"