summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-11-12 03:38:12 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-11-12 03:38:12 (GMT)
commit81faf4a2ce359423c0d9e7c6a0980c9e2ac67697 (patch)
tree63d47006f8a7b704cd406b4de5c9c8ee55d96072 /generic/tclStubLib.c
parentcf8a7199f105edc95e59373e098af6eb47d22a16 (diff)
downloadtcl-81faf4a2ce359423c0d9e7c6a0980c9e2ac67697.zip
tcl-81faf4a2ce359423c0d9e7c6a0980c9e2ac67697.tar.gz
tcl-81faf4a2ce359423c0d9e7c6a0980c9e2ac67697.tar.bz2
* generic/tclBasic.c: New macro TclResetResult, new iPtr flag
* generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for * generic/tclInt.h: Tcl_ResetResult for the "normal" case: * generic/tclProc.c: TCL_OK, no return options, no errorCode * generic/tclResult.c: nor errorInfo, return at normal level. * generic/tclStubLib.c: [Patch 1830184] * generic/tclUtil.c:
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r--generic/tclStubLib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index f674687..0ee0d4a 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStubLib.c,v 1.18 2007/09/19 10:53:25 patthoyts Exp $
+ * RCS: @(#) $Id: tclStubLib.c,v 1.19 2007/11/12 03:38:14 msofer Exp $
*/
/*
@@ -50,6 +50,7 @@ HasStubSupport(
interp->result =
"This interpreter does not support stubs-enabled extensions.";
interp->freeProc = TCL_STATIC;
+ ((Interp *)interp)->flags |= INTERP_RESULT_UNCLEAN;
return NULL;
}