Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Safe Source Alias noisy - works badly with package

Closed / Fixedf3ba57600d0b0f29d6d3f8e5d26c1f17a8594cdbCreated 9 years agoUpdated 6 years ago
Descriptionplain2017-07-14 08:57:55
safe.tcl line 670 reads:
	return -code error "no such file or directory"

Should read:
	return -code error -errorcode "POSIX EACCES" "no such file or directory"

Reason being, package.tcl expects that errorcode, else it bleats about not being able to load a pkgIndex.tcl file ... the Source Alias function in safe.tcl doesn't properly emulate native [source].

Colin
kjnashplain2020-07-21 21:57:36
Fixed in branch safe-bugfixes-8-6 commit [803cdad7cf].
kjnash Closed ticket [f3ba57600d]. [History diff]2020-12-31 15:55:02
Log in (anonymous is fine) to add a comment.