Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 15c30c12c9956d54cc4568316cd87edc7271754c9a9e772d364100f8f9c752d3
Ticket: 43c94f95988f3057fcabbd2a4b81c6e8ff9909a6
Tcl will not start properly if there is an init.tcl file in the current dir
User & Date: jan.nijtmans on 2024-11-13 15:50:44
Changes

  1. icomment:
    My guess: You used a --disable-zipfs build (which you didn't mention in the bug-report). In that case, "::tcl::zipfs::tcl_library_init", which should return the tcl_library directory in the zipfs might return the empty string.
    
    If $tcl_library is the empty string, then [file join $tcl_library init.tcl] (tclInterp.c:449) will point to init.tcl in the current directory.
    
    If my guess is right, [465d4546e2|this] should solve the problem.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"