Tcl Source Code

Check-in [d518a8ab5d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [f2ff05fc84]: a conversion with the system encoding could crash if another thread changed the system encoding. Keep former system encodings until finalization, so that a conversion which read systemEncoding can still use it, without locking. Also Tcl_GetEncoding(NULL, NULL) now returns the encoding it took the reference to.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | system-encoding-keep-retired
Files: files | file ages | folders
SHA3-256: d518a8ab5d374f9d3f64e2821cbdf7b80cfbf5ea1442fe032b923ae4f29f6e3c
User & Date: serhiy.storchaka 2026-10-17 08:06:11.312
Context
2026-11-17
13:01
Merge trunk leaf check-in: 9bcf1778bd user: serhiy.storchaka tags: system-encoding-keep-retired
2026-10-17
08:06
Fix [f2ff05fc84]: a conversion with the system encoding could crash if another thread changed the sy... check-in: d518a8ab5d user: serhiy.storchaka tags: system-encoding-keep-retired
07:20
Fix [2dff98e079]: format %A garbles negative, padded and infinite values check-in: 9336b96c43 user: serhiy.storchaka tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclEncoding.c.
Changes to tests/encoding.test.
Changes to tests/thread.test.