Artifacts Associated With Ticket fccb9f322
Ticket change [42223ff2b1] (rid 207101) by dgp on 2022-11-20 22:25:03:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
Make a fresh build of tclsh. Set the environment variable LANG to 'japanese'. Then: $ cat demo.tcl puts [encoding dirs] puts [encoding system] $ ./tclsh demo.tcl //zipfs:/app/tcl_library/encoding iso8859-1 The system encoding should be 'euc-jp' Next set the environment variable TCL_LIBRARY to point to the script library in the source code distribution and repeat: $ ./tclsh demo.tcl ../library/encoding euc-jp Something is going wrong with initialization of the system encoding when the set of *.enc files is stored in the zipfs filesystem. The test unixInit-3.2 was supposed to catch problems like this, but the customary use of the TCL_LIBRARY environment variable when testing was masking the problem. I've revised the test unixInit-3.2 to end the masking of the problem.
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "unixInit-3.2 fails when encodings dir is in zipfs"
- type initialized to: "Bug"
Ticket change [b68674b256] (rid 207158) by jan.nijtmans on 2022-11-22 19:43:48:
- icomment:
This is a dup of [75ecc0e6cb9899bf], which already has a branch with a proposed fix
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [2ffbeb4973] (rid 229703) by apnadkarni on 2024-08-03 12:36:08:
- icomment:
I am not sure this is a dup of [75ecc0e6cb9899bf] as this seems to be specific to use of zipfs. Proposed fix is [bug-fccb9f322f]. Review requested. I am not entirely comfortable with this fix as it corrects the system encoding after it has already been initialized. On the other hand, doing it right in the first place would require the zipfs initialization to be moved up in the init sequence, something I am even more hesitant to do as init of Tcl is a big mystery to me. So my take is that this is not an ideal fix, but better than the current state.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [b564ec1aae] (rid 229894) by apnadkarni on 2024-08-11 17:27:38:
- closedate changed to: "2460534.22753332"
- closer changed to: "apnadkarni"
- icomment:
Fixed in [17c53b7edd]. unixInit-3.2 passes github CI on all platforms.
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [9b54c8d4b2] (rid 233402) by jan.nijtmans on 2024-09-13 12:36:09:
- closedate changed to: "2460567.02510514"
- closer changed to: "jan.nijtmans"
- icomment: "Now [c1d2047f90|backported] to 8.7 as well."
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"