|
2020-12-31
| ||
| 15:53 | • Closed ticket [319e438f7f]: Refresh module "package ifneeded" data whe... artifact: 0fc1865240 user: kjnash | |
|
2020-07-23
| ||
| 13:27 | • Ticket [319e438f7f]: 3 changes artifact: b09da90a0e user: kjnash | |
|
2020-07-16
| ||
| 02:04 | • Ticket [319e438f7f]: 3 changes artifact: f4dc2718ca user: kjnash | |
| 01:18 | • Ticket [319e438f7f]: 3 changes artifact: 2d9ce6c0e4 user: kjnash | |
| 01:15 | • Ticket [319e438f7f]: 3 changes artifact: 7d8c2c4387 user: kjnash | |
|
2020-07-15
| ||
| 12:33 | • New ticket [319e438f7f]. artifact: 9b996ce80e user: kjnash | |
Refresh module "package ifneeded" data when access path changes in safe interp
Closed / Fixed319e438f7f71d4713b9af62a83612d75562c643eCreated 6 years agoUpdated 6 years ago
Descriptionplain2020-07-15 12:33:50
When a script calls safe::interpConfigure $int option value ?option value...? the Safe Base tests to see if the interpreter's access path (option -accessPath) has changed. If the value changes, the mapping from directories to tokens also changes, and the Safe Base calls auto_reset in the safe interpreter so that stale data is flushed from the autoloader. The Safe Base does not do a comparable reset for package information. The cached information from "package ifneeded" commands is stale, and therefore the safe interpreter will look for package files in the wrong directories. Bug [1f63efa537] has the report and fix for non-module packages. Fixed for modules in branch safe-bugfixes-8-6 commit [68ed8dcb41]. New test safe-9.24 checks that the stale data has been overwritten. Improved fix in branch safe-bugfixes-8-6 commit [d9ca230fc6].
kjnash Ticket [319e438f7f]: 3 changes
[History diff]2020-07-16 01:15:58
kjnash Ticket [319e438f7f]: 3 changes
[History diff]2020-07-16 01:18:01
kjnash Ticket [319e438f7f]: 3 changes
[History diff]2020-07-16 02:04:21
kjnash Ticket [319e438f7f]: 3 changes
[History diff]2020-07-23 13:27:04
kjnash Closed ticket [319e438f7f].
[History diff]2020-12-31 15:53:15
Log in (anonymous is fine) to add a comment.