Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-08-27
08:31 • Closed ticket [219348ffff]: Additional dirs in tcl_findLibrary plus 7 other ... artifact: cd2d38c555 user: dgp
2001-04-04
04:54 • Ticket [219348ffff]: 1 change artifact: 7a616a4723 user: dgp
2001-02-08
08:28 • Ticket [219348ffff]: 1 change artifact: 3a7d781ff4 user: dgp
2001-01-31
17:33 • Ticket [219348ffff]: 1 change artifact: ee9b58b4b4 user: dkf
2000-10-26
05:11 • New ticket [219348ffff]. artifact: 6924fddea8 user: nobody

Additional dirs in tcl_findLibrary

Closed / Rejected219348ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:11:06
OriginalBugID: 5594 RFE
Version: 8.3.1
SubmitDate: '2000-05-18'
LastModified: '2000-10-25'
Severity: LOW
Status: UnAssn
Submitter: techsupp
OS: Solaris
OSVersion: 2.5.1
Machine: SPARCstation20
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
petrus vloet

CVS:
auto.tcl

CustomShell:
Null

DesiredBehavior:
tcl_findLibrary should work more instinctively so that $envVarName points to a directory containing a lot of  subdirectories without having to define for each subdirectory a single environment variable.

In the future tcl_findDirectory might also support multiple paths included in the environment variable (similar to the environment variable $PATH).

PatchFiles:
Extend tcl_findLibrary in the following way:

     if {[info exists env($enVarName)]} {
                lappend dirs $env($enVarName)
                lappend dirs [file join $env($envVarName)  $basename$version
                lappend dirs [file join $env($envVarName)  $basename
            }
dkf Ticket [219348ffff]: 1 change [History diff]2001-01-31 17:33:35
dgp Ticket [219348ffff]: 1 change [History diff]2001-02-08 08:28:58
dgp Ticket [219348ffff]: 1 change [History diff]2001-04-04 04:54:04
dgpplain2001-08-27 08:31:54
Logged In: YES 
user_id=80530

See comments at FR 219309 for an explanation why
supporting a multiple-directory search path value
in the environment variable is not the right thing.
Log in (anonymous is fine) to add a comment.