Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3692e21822a0ab2fd317cffb2a0215e7dfc02735
Ticket: 833713ffffffffffffffffffffffffffffffffff
Creating relative links with "file link .." comman
User & Date: hemanglavana on 2003-10-31 15:34:03
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When I create symbolic links (on solaris and linux,
    tcl8.4.4) using [file link -symbolic ...] command, the
    created link file always points to an absolute path
    even when a relative path is specified. This is causing
    problems when the directory is moved around and the
    links have to be deleted and re-created. Is this the
    correct behavior (dictated by cross-platform support)?
    
    It would be nice if the [file link] command behaved
    like the unix 'ln' utility in this respect so that I
    don't have to invoke [exec ln -s ...] for creating
    relative links.
    
    Hemang.
    
    -----------------------------
    
    I don't see that this is specifically mentioned
    anywhere in the docs
    of the implementation.  It seems a byproduct of the
    Tcl_FSGetNativePath
    request returning a fully qualified path.  I'm not sure
    whether this
    is a bug, so I've cc'ed the implementor, Vince Darley.
    
    Jeff Hobbs
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "hemanglavana"
  9. subsystem changed to: "37. File System"
  10. title changed to:
    Creating relative links with "file link .." command?
    
  11. type changed to: "Bug"