Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 98df7c825883cc642e4cdfa914c5c7bd24548213
Ticket: 859251ffffffffffffffffffffffffffffffffff
new fileSystem.test failures
User & Date: vincentdarley on 2003-12-17 17:13:43
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Hmm, can you look at what the links are that are created
    with this:
    
    if {[catch {
        file link link.file gorp.file 
        file link \
          [file join dir.dir linkinside.file] \
          [file join dir.dir inside.file]
        file link dir.link dir.dir
        file link [file join dir.dir dirinside.link] \
          [file join dir.dir dirinside.dir]
    }]} {
        tcltest::testConstraint hasLinks 0
    } else {
        tcltest::testConstraint hasLinks 1
    }
    
    In particular the 'linkinside.file' link is the one causing
    the problems here, and those problems are almost certainly
    caused by the tclUnixFile.c changes to support creation of
    relative links. The problem here is that I'm not sure how to
    define the link that is created. We're doing:
    
    file link dir.dir/linkinside.file dir.dir/inside.file
    
    i.e.  ln -s dir.dir/inside.file dir.dir/linkinside.file
    
    But Tcl will now, I think, try to create a link
    'linkinside.file' pointing to 'dir.dir/inside.file' which
    isn't really correct, since the cwd is different for the two
    cases.
    
    Any ideas how this is defined consistently for 'ln'?  We
    should have Tcl's file-link do the same....
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"