Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f8f7451991fbf70dcad6c564089d3493a566ca4d
Ticket: 918137ffffffffffffffffffffffffffffffffff
pkgIndex.tcl breaks Tcl 7
User & Date: dgp on 2004-03-17 16:42:33
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    If the Thread package gets installed
    in a directory that happens to be on
    the auto_path of a Tcl 7 interpreter,
    its index script (pkgIndex.tcl) causes
    errors in that interpreter.  This can
    be corrected by a rewrite of Thread's
    pkgIndex.tcl.in file to:
    
    # Tcl package index file, version 1.1
    
    if {![package vsatisfies [package provide Tcl] 8.3]}
    {return}
    if {[string equal 8.3 [package provide Tcl]]} {
        package ifneeded Thread @THREAD_VERSION_SUBSET83@ \
                [list load [file join $dir
    @thread_LIB_FILE@] Thread]
    } else {
        package ifneeded Thread @VERSION@ \
                [list load [file join $dir
    @thread_LIB_FILE@] Thread]
    }
    package ifneeded Ttrace @TTRACE_VERSION@ \
            [list source [file join $dir ttrace.tcl]]
    
    
    (Patch also attached.)
    
    See also http://wiki.tcl.tk/5900
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "80. Thread Package"
  10. title changed to: "pkgIndex.tcl breaks Tcl 7"
  11. type changed to: "Bug"