Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 42223ff2b1bb01f8190e0e2b16bc7215bc95b9c0fe2a4c429e2fa1e22909bc03
Ticket: fccb9f322f550a37839651d791fed731e2a93d75
unixInit-3.2 fails when encodings dir is in zipfs
User & Date: dgp on 2022-11-20 22:25:03
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed 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.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "10. Objects"
  14. title changed to: "unixInit-3.2 fails when encodings dir is in zipfs"
  15. type changed to: "Bug"