summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-11-16 02:12:56 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-11-16 02:12:56 (GMT)
commit16c53502057d22be392557555284584ae5c1e850 (patch)
tree940a6baccff730aef8e6e848ac251c35474abd7b /generic/tclExecute.c
parent9e8d5a108f8838862bf2ab1de8b53831ae94c2d6 (diff)
downloadtcl-16c53502057d22be392557555284584ae5c1e850.zip
tcl-16c53502057d22be392557555284584ae5c1e850.tar.gz
tcl-16c53502057d22be392557555284584ae5c1e850.tar.bz2
Miguel's masking bits had the wrong sense. I should have spotted
this, but he did instead...
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 466cb6b..071ac25 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.116 2003/11/16 01:15:55 dkf Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.117 2003/11/16 02:12:56 dkf Exp $
*/
#include "tclInt.h"
@@ -1220,7 +1220,7 @@ TclExecuteByteCode(interp, codePtr)
* do the check every 16th instruction.
*/
- if (!(instructionCount++ & ~ASYNC_CHECK_COUNT_MASK) && Tcl_AsyncReady()) {
+ if (!(instructionCount++ & ASYNC_CHECK_COUNT_MASK) && Tcl_AsyncReady()) {
DECACHE_STACK_INFO();
result = Tcl_AsyncInvoke(interp, result);
CACHE_STACK_INFO();