summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-07-31 08:19:29 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-07-31 08:19:29 (GMT)
commitf4994e6345f53a9f4b818391cf2ae8bda522d537 (patch)
treebf34c5cc50d6d5dc5b0b1c2cb8cef4cb012fbf66 /unix/tclUnixChan.c
parent0db7ab33489adddcc5d005f4e41f94f083c815b3 (diff)
downloadtcl-f4994e6345f53a9f4b818391cf2ae8bda522d537.zip
tcl-f4994e6345f53a9f4b818391cf2ae8bda522d537.tar.gz
tcl-f4994e6345f53a9f4b818391cf2ae8bda522d537.tar.bz2
Fix test failures.
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index ab440de..734b78d 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixChan.c,v 1.79 2007/07/30 13:42:24 dkf Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.80 2007/07/31 08:19:31 dkf Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -693,7 +693,7 @@ FileWatchProc(
* with the channel pointer as the client data.
*/
- CLEAR_BITS(mask, fsPtr->validMask);
+ mask &= fsPtr->validMask;
if (mask) {
Tcl_CreateFileHandler(fsPtr->fd, mask,
(Tcl_FileProc *) Tcl_NotifyChannel,