Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8b26ae8d75e19892a8b344081b859709a5056b6e
Ticket: 2907095fffffffffffffffffffffffffffffffff
library/init.tcl using wrong string comparison
User & Date: dgp on 2009-12-02 09:38:34
Changes

  1. closedate changed to: "2009-12-02T02:38:34"
  2. closer changed to: "dgp"
  3. icomment:
    
    
    allow_comments - 1
    
    
    You have both missed the point.  Those lines
    of init.tcl are present to protect the rest of
    the script against getting [source]d by a Tcl
    interp of version 7.4 (!!) or earlier.  If you change
    it to anything that isn't in Tcl 7.4 you defeat
    whatever purpose it has.
    
    The proper way to update those lines to the
    expectations of modern Tcl is to simply
    delete them, on the theory that Tcl 7.4 no
    longer exists, and [package] is present
    everywhere Tcl is, just like [set].  I don't mind
    a commit that does exactly that.
    
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. subsystem changed to: "38. Init - Library - Autoload"
  9. username: "dgp"