Overview
| Artifact ID: | e34425108c7d7e3bb67a8e014fd164eca721b4f46e132f88a54eba884b06bc7d |
|---|---|
| Ticket: | f06e38c9e7850bdc4bae4d1ba7674beceab45295
Set new value of [tcl::tm::list] when access path changes in safe interp |
| User & Date: | kjnash on 2020-07-16 01:15:23 |
Changes
- comment changed to:
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.
- login: "kjnash"
- mimetype: "text/plain"