Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6f4cc323ed3da036050e5762a4f69cb30b158132
Ticket: 3587096fffffffffffffffffffffffffffffffff
win vista/7: "can't find init.tcl" when called via junction
User & Date: twylite on 2012-11-14 22:00:15
Changes

  1. icomment:
    I'm only following this conversation with half an ear, so please feel free to ignore this if it's not relevant:
    
    If anything in the Tcl startup or in the distribution libraries (including resource finding scripts in msgcat, clock, etc.) expects or relies on any path returned by tcl::pkgconfig to be valid, then that logic is utterly, completely and unfixably(*) broken on all Windows platforms.
    
    (*) There is a fix: remove any reliance on pkgconfig being right.
    
    pkgconfig should only ever be used to discover the build configuration of a shell (and its libraries) for the purposes of building another extension to work with that shell (under the explicit assumption that you're on the machine that build the shell [or an identical setup] and that you installed the shell to the location that you specified in the build scripts).
    
    Moreover if anything in the Tcl startup or in the distribution libraries attempts to use tcl::pkgconfig or an environment variable in preference to relative paths then there is a security hole that needs attention (a user could inject a script of their choice into an interp, even when filesystem access controls prevent that user from modifying the Tcl interp or libs).
    
    
    
  2. login: "twylite"
  3. mimetype: "text/plain"
  4. username: "twylite"