Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2020-12-31
15:55 • Closed ticket [f3ba57600d]: Safe Source Alias noisy - works badly with package</... artifact: 7b8c73a27e user: kjnash
2020-07-21
21:57 • Ticket [f3ba57600d]: 3 changes artifact: 2dcd9b9743 user: kjnash
2017-07-14
08:57 • New ticket [f3ba57600d]. artifact: a1f8303be1 user: anonymous

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.