Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 57e678f090d8955d3daf06ba9a6b92e8d3ac15fc
Ticket: 219375ffffffffffffffffffffffffffffffffff
Add local initialization script for Tcl.
User & Date: nobody on 2000-10-26 05:11:49
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 5998 RFE
    Version: 8.1.1
    SubmitDate: '2000-07-10'
    LastModified: '2000-10-25'
    Severity: LOW
    Status: UnAssn
    Submitter: techsupp
    OS: BSD
    OSVersion: BSD/OS 4.0.1
    Machine: x86 pc architecture
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Robert Hare
    
    
    Extensions:
    
    BerkeleyDB.3.0,  mpexpr1.0
    
    
    DesiredBehavior:
    
    It would be nice to have the following code added to the init.tcl script:
    
         # Perform any local initialization.
    
         if {[file exists [file join [info library] init-local.tcl]]} {
    
              source [file join [info library] init-local.tcl]
    
         }
    
    
    This allows customized local initializations to be performed.  In our case we want to add entries
    
    to the default auto_path so that packages we have installed can be found without having to
    
    tweak on the auto_path in every program.
    
    
    Patch:
    
    --- init.tcl.orig       Tue Jun 15 08:28:19 1999
    
    +++ init.tcl    Fri Jul  7 11:10:00 2000
    
    @@ -570,3 +570,9 @@
    
     }
    
    
     }
    
    +
    
    +
    
    +# Perform any local initialization.
    
    +if {[file exists [file join [info library] init-local.tcl]]} {
    
    +    source [file join [info library] init-local.tcl]
    
    +}
    
    
    PatchFiles:
    
    init.tcl
    
    
    
    
    
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Add local initialization script for Tcl."
  11. type changed to: "RFE"