summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index b44e3d3..b30a155 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.277 2007/11/11 05:23:39 das Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.278 2007/11/11 06:32:29 das Exp $
*/
#include "tclInt.h"
@@ -353,7 +353,7 @@ static int stackGrowsDown = 1;
TclpGetCStackParams(&((iPtr)->stackBound))
#ifdef TCL_STACK_GROWS_UP
#define CheckCStack(iPtr, localIntPtr) \
- ((iPtr)->stackBound && (localIntPtr) < (iPtr)->stackBound)
+ (!(iPtr)->stackBound || (localIntPtr) < (iPtr)->stackBound)
#else /* TCL_STACK_GROWS_UP */
#define CheckCStack(iPtr, localIntPtr) \
((localIntPtr) > (iPtr)->stackBound)