Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fdd07a4a63889f30d5e5d61b146214224860545c
Ticket: 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed
User & Date: dgp on 2012-11-29 09:20:58
Changes

  1. icomment:
    I think the answer to that question depends on how
    Jan and I resolve our difference about whether the
    TCL_STUBS_MAGIC value needs to change on the
    8->9 transition.  If it does not change, then the scenario
    in the original report can still happen.  Since I'd prefer not
    to change the TCL_STUBS_MAGIC value, I'd want to have
    a redesigned stubs initialization in Tcl 8.6 for protection
    against that scenario.  And yes, it offers much nicer error
    message too.
    
    I would not make the change for Tcl 8.5.14, however, because
    that would create the situation where extensions compiled against
    some 8.5 header files would not be able to link against some 8.5
    stubs libraries, and that's just too messy to explain.  Extensions
    compiling against 8.5 and older headers will just continue to
    suffer from this broken design. The redesign would neatly arrive
    with Tcl 8.6.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"