Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c83a9433d8d873a6d47cf6cf639e03dae1507ac629a1f65e88b1a2d7bead544
Ticket: 39fed4dae51e4fd7f1abf6baf3ba094a072b8beb
Tcl_PkgRequireEx, Tcl_InitStubs broken in 8.6.9
User & Date: dgp on 2019-03-02 11:55:22
Changes

  1. icomment:
    
    Indeed I was missing something.
    
    Although the ticket makes the complaint in the language of threading and
    volatility, the brokenness is simpler than that. As modified, the routine is
    returning a pointer to a value that's already been invalidated. Just these two
    lines are wrong-headed.
    
    https://core.tcl-lang.org/tcl/artifact/4c83c1db6c1901ec?ln=303-304
    
    My next Q is why the rewrite here thinks a Tcl_ResetResult() is necessary
    or desirable?
    
  2. login: "dgp"
  3. mimetype: "text/plain"