Overview
| Artifact ID: | f36a7f3499ce7c9c40a1ec907bfc520b19bb72f9 |
|---|---|
| Ticket: | 219295ffffffffffffffffffffffffffffffffff
Search one level more subdirectory in lib |
| User & Date: | nobody on 2000-10-26 05:10:16 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2529 RFE Version: 8.1 SubmitDate: '1999-08-12' LastModified: '1999-10-21' Severity: MED Status: UnAssn Submitter: techsupp ChangedBy: hobbs OS: Other Machine: NA FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Chang LI ReproducibleScript: Tcl can not automatically search the extensions of one level more subdirectory under the lib directory. Example: lib\name\version PatchFiles: patch in the init.tcl file: The init.tcl is located in the lib\tcl8.1, add the proc in the header, # # this is a recursive program to make automatically search # subdirectory possible. # proc AppendFolder {start} { set cur [pwd] if {[catch {cd $start} err]} { puts stderr $err return } foreach f [glob -nocomplain *] { if [file isdirectory $f] { set d [file join $start $f] lappend ::auto_path $d AppendFolder $d } } cd $cur } ... # add following command here AppendFolder [file dirname [file join [pwd] [info library]]] # Setup the unknown package handler package unknown tclPkgUnknown - foundin changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "56. LibTomMath"
- title changed to: "Search one level more subdirectory in lib"
- type changed to: "RFE"