Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f6784a4cd8b21aee85dec43f9d5c4b678b3b31e7
Ticket: 759607ffffffffffffffffffffffffffffffffff
Init of Safe Slave Fails
User & Date: lukekalemyers on 2003-06-24 03:00:57
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Safe slave init fails when given a valid, but
    non-normalized, -accessPath:
    
    % ::safe::interpCreate 0 -accessPath \
    /opt/ActiveTcl/lib/tcl8.4/
    can't source init.tcl into slave 0 (permission denied)
    
    This behavior was exposed when testing tclplugin.
    On one otherwise functioning Tcl installation, [info
    library] returned a non-normalized path.
    
    Non-normalized paths may not be widespread, but they
    sure can cause a lot of grief a long way from the
    cause. I think -accessPath should not require
    normalized paths or should issue a more informative
    error message.
    
    A patch is attached. It changes:
    
    1.) [::safe::FileInAccessPath] to normalize paths
    before comparing them.
    
    2.) [::safe::InterpInit] to report the full pathname
    when failing to source init.tcl.
    
  4. foundin changed to: "obsolete: 8.4.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lukekalemyers"
  9. subsystem changed to: "33. Safe Base"
  10. title changed to: "Init of Safe Slave Fails"
  11. type changed to: "Bug"