Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab7d7d60f8257d39bd0a11b678e2ffdb3ddc0925
Ticket: 2865247fffffffffffffffffffffffffffffffff
C version of [try] assumes return -level 0
User & Date: dgp on 2009-09-25 01:25:20
Changes

  1. icomment:
    
    Good catch.
    
    The comments before TclProcessReturn (hey, I
    wrote them for once!) give the constraints:
    
    "Note that the code argument must agree
    with the -code entry in returnOpts and the
    level argument must agree with the -level
    entry in returnOpts,..."
    
    Replacing with calls to Tcl_SetReturnOptions()
    will enforce this constraint, so the submitted
    patch is a correct one.  Before accepting, I'll
    examine if there's a more direct way instead.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"