diff options
author | nijtmans <nijtmans@noemail.net> | 2010-07-25 10:15:08 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-07-25 10:15:08 (GMT) |
commit | 75fee5635f8bf454ee4b92f0207837be81caa9bf (patch) | |
tree | 97bbb9bf438e2e62aaac6bca096670b00d861a4a /generic/tclBasic.c | |
parent | 104cf3ad32a35f6de22db12d7e5784b7db428ab7 (diff) | |
download | tcl-75fee5635f8bf454ee4b92f0207837be81caa9bf.zip tcl-75fee5635f8bf454ee4b92f0207837be81caa9bf.tar.gz tcl-75fee5635f8bf454ee4b92f0207837be81caa9bf.tar.bz2 |
[Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6:
revert tclInt.h to what it was before, and relax the relation between Tcl_CallFrame and CallFrame.
FossilOrigin-Name: 541d313d64e3be76ce0509d4eb5719556eacfe9b
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 0810f55..2fe57b8 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -14,7 +14,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.75.2.39 2009/11/09 22:35:30 andreas_kupries Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.75.2.40 2010/07/25 10:15:08 nijtmans Exp $ */ #include "tclInt.h" @@ -323,9 +323,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"); } /* |