Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ebc5329880009002b0f79a78500912d0cf45cb06
Ticket: 3414754fffffffffffffffffffffffffffffffff
file join/normalize bugs violate EIAS
User & Date: avl42 on 2011-09-28 19:19:39
Changes

  1. icomment:
    Bug#1 is even more strange:
      $ cat testfile.tcl
      cd /tmp
      puts [info patchlevel]
      puts "pwd:[file join [pwd] foo/]"
      puts "/tmp:[file join /tmp  foo/]"
      $ tclsh8.5 testfile.tcl 
      8.5.8
      pwd:/tmp/foo/
      /tmp:/tmp/foo
      $ tclsh8.5 < testfile.tcl
      8.5.8
      pwd:/tmp/foo/
      /tmp:/tmp/foo/
    
    Just in case that SF hoses the formatted text: I make a small script that does cd, and then 
    puts for the two file join lines.  If I start tclsh8.5 with the script as an argument, then the bug
    shows up, however if I merely redirect tclsh8.5's stdin from the script, then both variants
    of file join do show the trailing slash.
    
    
    
    
    
  2. login: "avl42"
  3. mimetype: "text/plain"
  4. username: "avl42"