Ticket UUID: | 918137 | |||
Title: | pkgIndex.tcl breaks Tcl 7 | |||
Type: | Bug | Version: | obsolete: 8.4.6 | |
Submitter: | dgp | Created on: | 2004-03-17 16:42:33 | |
Subsystem: | 80. Thread Package | Assigned To: | vasiljevic | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2004-04-02 22:07:39 | |
Resolution: | Fixed | Closed By: | vasiljevic | |
Closed on: | 2004-04-02 09:56:45 | |||
Description: |
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 | |||
User Comments: |
vasiljevic added on 2004-03-18 19:20:11:
Logged In: YES user_id=95086 Yes. This has never been tested. The reason is that thread package would work first at 8.3 and later. I will however fix the pkgIndex.tcl accordingly. In the new upcoming 2.6 version. dgp added on 2004-03-17 23:42:33: File Added - 80430: index.patch |
Attachments:
- index.patch [download] added by dgp on 2004-03-17 23:42:33. [details]