Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-11-09
13:41 • New ticket [3585732fff] tcl_findLibrary armor against relative pathnames?. artifact: 14c13bb733 user: dgp

[tcl_findLibrary] armor against relative pathnames?

Open3585732fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-11-09 13:41:55
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?
Log in (anonymous is fine) to add a comment.