Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 070acf55af8fdd0e9b2e6eb0a5675b7d6cc005e0
Ticket: 2186888fffffffffffffffffffffffffffffffff
infinite for-loop in Tcl 8.6a3
User & Date: dgp on 2008-10-23 01:24:18
Changes

  1. icomment:
    
    I believe this patch is the fix.
    Miguel should review and commit.
    Original reporter is invited to
    test as well.
    
    
    diff -u -r1.107 tclCmdAH.c
    --- generic/tclCmdAH.c  17 Oct 2008 16:32:58 -0000      1.107
    +++ generic/tclCmdAH.c  22 Oct 2008 18:22:57 -0000
    @@ -1763,7 +1763,7 @@
         char *msg = data[3];
    
    
    -    if (result == TCL_OK) {
    +    if ((result == TCL_OK) || (result == TCL_CONTINUE)) {
            /*
             * TIP #280. Make invoking context available to next script.
             *
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"