|
2020-12-31
| ||
| 16:04 | • Closed ticket [f06e38c9e7]: Set new value of :tm::list when access path ch... artifact: 7aca0bf199 user: kjnash | |
|
2020-07-16
| ||
| 02:03 | • Ticket [f06e38c9e7]: 3 changes artifact: 47443b46ef user: kjnash | |
| 01:15 | • Ticket [f06e38c9e7]: 3 changes artifact: e34425108c user: kjnash | |
|
2020-07-15
| ||
| 12:21 | • New ticket [f06e38c9e7]. artifact: fdb2ca08aa user: kjnash | |
Set new value of [tcl::tm::list] when access path changes in safe interp
Closed / Fixedf06e38c9e7850bdc4bae4d1ba7674beceab45295Created 6 years agoUpdated 6 years ago
Descriptionplain2020-07-15 12:21:27
Whenever a script sets the access path for a safe interpreter, it includes the directories for a module path [tcl::tm::list] based on the value in the master interpreter. When a safe interpreter is initialized, its value of [tcl::tm::list] is set. However, whenever a script calls safe::interpConfigure $int option value ?option value...? to change the access path of an interpreter (option -accessPath), the revised value for [tcl::tm::list] is stored in element tm_path_slave of the state array defined in the master for the slave interpreter, but the value of [tcl::tm::list] in the slave itself is not refreshed. Fixed in branch safe-bugfixes-8-6 commit [b336bc2615]. New tests safe-9.21, safe-9.22 check that the module path is updated.
kjnash Ticket [f06e38c9e7]: 3 changes
[History diff]2020-07-16 01:15:23
kjnash Ticket [f06e38c9e7]: 3 changes
[History diff]2020-07-16 02:03:14
kjnash Closed ticket [f06e38c9e7].
[History diff]2020-12-31 16:04:39
Log in (anonymous is fine) to add a comment.