Overview
| Artifact ID: | fdb2ca08aa12f980386b5e690c011c4fdc3a448ef4def628169dcf36c0dd6dec |
|---|---|
| Ticket: | f06e38c9e7850bdc4bae4d1ba7674beceab45295
Set new value of [tcl::tm::list] when access path changes in safe interp |
| User & Date: | kjnash on 2020-07-15 12:21:27 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "core-8-6-branch"
- is_private changed to: "0"
- login: "kjnash"
- priority changed to: "5 Medium"
- private_contact changed to: "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "kjnash"
- subsystem changed to: "33. Safe Base"
- title changed to: "Use revised [tcl::tm::list] in Safe Base"
- type changed to: "Bug"