Overview
| Artifact ID: | cc17ddef57fa2f962e42931f509db52d326fb0bedd2b40e216ff3e5dc317e506 |
|---|---|
| Ticket: | 87b69745be15c2816574ec415dfe2c3c407cc5d6
interp creation resets encoding directory search path |
| User & Date: | apnadkarni on 2025-08-06 13:40:50 |
Changes
- icomment:
Branch [bug-87b69745be](https://core.tcl-lang.org/tcl/timeline?r=bug-87b69745be) contains a proposed solution to this and other zipfs related encoding bugs that previously contained point fixes. - It moves locating and mounting of the zipfs containing the tcl library to before creation of any interpreters instead of in the tclInit script. This seems logically correct to me as different interpreters should not be using different directories for `tcl_library` as structures such as file systems and encodings are shared process wide and it does not make sense to have them initialized from different sources. This was already partly achieved by the init flag Sergey introduced to cache the zipfs search but not doing the search at all is more comprehensive. - It also ensures the file system epoch is only updated if the encoding actually changes. This fixes the issue observed by Sergey (but not logged as a separate ticket) where the file system epoch changes much more frequently than in Tcl 8.6. Review requested.
- login: "apnadkarni"
- mimetype: "text/x-markdown"