diff options
author | hobbs <hobbs> | 2003-07-16 22:10:37 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-07-16 22:10:37 (GMT) |
commit | 646f05cf2d2b7e09c5c00db4b277d5d32c3f3147 (patch) | |
tree | e5f9d17c00fa255795199340a80110a4549ae94b | |
parent | 379bdae5c3feed0328500dd805b3e51c06d0383f (diff) | |
download | tcl-646f05cf2d2b7e09c5c00db4b277d5d32c3f3147.zip tcl-646f05cf2d2b7e09c5c00db4b277d5d32c3f3147.tar.gz tcl-646f05cf2d2b7e09c5c00db4b277d5d32c3f3147.tar.bz2 |
* unix/tclUnixNotfy.c (NotifierThreadProc): correct size of found
and word vars from int to long. [Bug 767578] (hgo)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | unix/tclUnixNotfy.c | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2003-07-16 Jeff Hobbs <jeffh@ActiveState.com> + * unix/tclUnixNotfy.c (NotifierThreadProc): correct size of found + and word vars from int to long. [Bug 767578] (hgo) + * generic/tcl.h: add recognition of -DTCL_UTF_MAX=6 on the * generic/regcustom.h: make line to support UCS-4 mode. No config arg at this time, as it is not the recommended build mode. diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 11b30fb..719442d 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.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: tclUnixNotfy.c,v 1.12 2003/03/21 03:23:24 dgp Exp $ + * RCS: @(#) $Id: tclUnixNotfy.c,v 1.13 2003/07/16 22:10:37 hobbs Exp $ */ #include "tclInt.h" @@ -862,7 +862,8 @@ NotifierThreadProc(clientData) fd_mask masks[3*MASK_SIZE]; long *maskPtr = (long *)masks; /* masks[] cast to type long[] */ int fds[2]; - int i, status, index, bit, numFdBits, found, receivePipe, word; + int i, status, index, bit, numFdBits, receivePipe; + long found, word; struct timeval poll = {0., 0.}, *timePtr; int maskSize = 3 * ((MASK_SIZE) / sizeof(long)) * sizeof(fd_mask); char buf[2]; |