Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0eca06f59b4a974afbac88fdd8f2265233131f8af20985333d6ff962993eab04
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:21:10
Changes

  1. icomment:
    Trying to reproduce it:
    <pre>
    $ echo '' > init.tcl
    
    $ echo 'puts $::auto_path' | tclsh8.6
    /usr/lib/tcl8.6 /usr/lib
    
    $ echo 'puts $::auto_path' | tclsh9.0
    //zipfs:/lib/tcl/tcl_library //zipfs:/lib/tcl /usr/lib
    </pre>
    
    That looks fine to me.
    
    Did you set any environment variables, like TCL_LIBRARY or TCLPKGPATH?
    
    What platform?
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"