Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: caae7745762e4372aad6c620165ee88f74f1f152
Ticket: 1786481fffffffffffffffffffffffffffffffff
dict causes segfault
User & Date: msofer on 2007-09-11 10:39:58
Changes

  1. icomment:
    
    
    File Added - 245085: 1786481.patch
    
    Logged In: YES 
    user_id=148712
    Originator: YES
    
    This patch fixes the issue, please review. Can dict-for use something similar?
    
    Changes in the dict-update compiler: INST_UPDATE_START now leaves the key list on the stack instead of creating a tmp var for it; INST_UPDATE_END expects to find at stacktop. The epilogue after the implicit catch for the body is reformulated, with a clearer code separation for different return codes from the body (caught vs not).
    
    The previous code left a duplicate result on the stack after TCL_OK completion?
    
    
    File Added: 1786481.patch
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"