summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-07-25 10:16:42 (GMT)
committernijtmans <nijtmans>2010-07-25 10:16:42 (GMT)
commitefc99c79f65bb242966678b4a9cabb66dd5fae01 (patch)
tree3aa7bbb65c8bf5d7e5010e8adfcf9cae4d3a2d88 /generic/tclBasic.c
parent97a2349055115fbd99ae55711aa782ec9136b167 (diff)
downloadtcl-core_8_3_1_branch.zip
tcl-core_8_3_1_branch.tar.gz
tcl-core_8_3_1_branch.tar.bz2
[Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6: core_8_3_1_branch
relax the relation between Tcl_CallFrame and CallFrame.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 9a73e94..9e1fcf2 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -12,7 +12,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.27 2000/04/15 17:34:09 hobbs Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.27.2.1 2010/07/25 10:16:42 nijtmans Exp $
*/
#include "tclInt.h"
@@ -285,9 +285,9 @@ Tcl_CreateInterp()
* also updating the Tcl_CallFrame structure (or vice versa).
*/
- if (sizeof(Tcl_CallFrame) != sizeof(CallFrame)) {
+ if (sizeof(Tcl_CallFrame) < sizeof(CallFrame)) {
/*NOTREACHED*/
- panic("Tcl_CallFrame and CallFrame are not the same size");
+ panic("Tcl_CallFrame must not be smaller than CallFrame");
}
/*