diff options
author | dgp <dgp@users.sourceforge.net> | 2007-06-05 17:57:05 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-06-05 17:57:05 (GMT) |
commit | 0ce2a2cb2fb98447e3060196f2415dd267330e0d (patch) | |
tree | baea8961dd7792cf7300ab1799771f4ebdc7ad72 /generic/tclBasic.c | |
parent | 68919c24042c4dd2b585f557d98d6bea70fa1cf4 (diff) | |
download | tcl-0ce2a2cb2fb98447e3060196f2415dd267330e0d.zip tcl-0ce2a2cb2fb98447e3060196f2415dd267330e0d.tar.gz tcl-0ce2a2cb2fb98447e3060196f2415dd267330e0d.tar.bz2 |
* generic/tclBasic.c: Added interp flag value ERR_LEGACY_COPY to
* generic/tclInt.h: control the timing with which the global
* generic/tclNamesp.c: variables ::errorCode and ::errorInfo get
* generic/tclProc.c: updated after an error. This keeps more
* generic/tclResult.c: precise compatibility with Tcl 8.4.
* tests/result.test (result-6.2): [Bug 1649062]
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 6471e6f..06cc63e 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.245 2007/05/30 18:12:57 dgp Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.246 2007/06/05 17:57:06 dgp Exp $ */ #include "tclInt.h" @@ -5227,6 +5227,7 @@ Tcl_AddObjErrorInfo( * the error message in the interpreter's result. */ + iPtr->flags |= ERR_LEGACY_COPY; if (iPtr->errorInfo == NULL) { if (iPtr->result[0] != 0) { /* |