Overview
| Artifact ID: | 47d14ef8944567246421ae0b5331c266d8479ccb |
|---|---|
| Ticket: | 2152286fffffffffffffffffffffffffffffffff
TCL_RETURN causes TclUpdateReturnInfo() to panic |
| User & Date: | dgp on 2008-10-20 02:31:47 |
Changes
- icomment:
diff -u -r1.139.2.3 tclProc.c --- generic/tclProc.c 11 Aug 2008 19:01:59 -0000 1.139.2.3 +++ generic/tclProc.c 19 Oct 2008 19:30:06 -0000 @@ -2245,6 +2245,10 @@ if (code == TCL_ERROR) { iPtr->flags |= ERR_LEGACY_COPY; } + if (code != TCL_RETURN) { + iPtr->returnLevel = 1; + iPtr->returnCode = TCL_OK; + } } return code; } - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"