Tcl Source Code

View Ticket
Login
Ticket UUID: 3585732
Title: [tcl_findLibrary] armor against relative pathnames?
Type: RFE Created on: 2012-11-09 13:41:55
Submitter: dgp Assigned to: dgp
Subsystem: 38. Init - Library - Autoload Severity:
Priority: 5 Medium Last modified: 2012-11-09 13:41:55
Status: Open Closed by:
Resolution: None Closed on:
Version: None
Description:
When testing Tk 8.5.13 for release, we ran into troubles
when a realtive pathname value in TK_LIBRARY caused
a failure to find tk.tcl after a change of the working directory.
Using relative pathnames there is a bad idea, but in case it
happens, perhaps [tcl_findLibrary] ought to be normalizing
it's pathnames (or otherwise preventing relative pathnames)
as it puts them on the search path?