diff options
author | nijtmans <nijtmans> | 2010-07-24 06:45:01 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-07-24 06:45:01 (GMT) |
commit | 6d638054cc928993e58d4310a2ed8220a4c76508 (patch) | |
tree | d456d95f70853800b2be47822c520c6b67489284 /generic | |
parent | d905057aa1a137b50325a061e0ebb35f5efdf3b1 (diff) | |
download | tcl-6d638054cc928993e58d4310a2ed8220a4c76508.zip tcl-6d638054cc928993e58d4310a2ed8220a4c76508.tar.gz tcl-6d638054cc928993e58d4310a2ed8220a4c76508.tar.bz2 |
From [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6: Relax the relation between Tcl_CallFrame and CallFrame.
Diffstat (limited to 'generic')
-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 8a6bc21..ef272d3 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -16,7 +16,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.458 2010/07/16 15:29:10 dkf Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.459 2010/07/24 06:45:01 nijtmans Exp $ */ #include "tclInt.h" @@ -475,9 +475,9 @@ Tcl_CreateInterp(void) * the Tcl_CallFrame structure (or vice versa). */ - if (sizeof(Tcl_CallFrame) != sizeof(CallFrame)) { + if (sizeof(Tcl_CallFrame) < sizeof(CallFrame)) { /*NOTREACHED*/ - Tcl_Panic("Tcl_CallFrame and CallFrame are not the same size"); + Tcl_Panic("Tcl_CallFrame must not be smaller than CallFrame"); } if (cancelTableInitialized == 0) { |