diff options
author | hobbs <hobbs> | 2003-07-16 22:09:47 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-07-16 22:09:47 (GMT) |
commit | ff41d718087fa54c34bc52d7bb818a6ab93f2471 (patch) | |
tree | 5b0ddec5e0ffadd07784e3f4fe6b333db6e2a2c6 | |
parent | 81bbc0ba267fefbb15f6d0f7003126b1bf401ffe (diff) | |
download | tcl-ff41d718087fa54c34bc52d7bb818a6ab93f2471.zip tcl-ff41d718087fa54c34bc52d7bb818a6ab93f2471.tar.gz tcl-ff41d718087fa54c34bc52d7bb818a6ab93f2471.tar.bz2 |
* unix/tclUnixNotfy.c (NotifierThreadProc): correct size of found
and word vars from int to long. [Bug 767578] (hgo)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/tclUnixNotfy.c | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +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) + 2003-07-16 Donal K. Fellows <fellowsd@cs.man.ac.uk> * doc/CrtSlave.3 (Tcl_MakeSafe): Updated documentation to strongly diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 7de3417..0cad280 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.11.2.1 2003/03/21 03:24:09 dgp Exp $ + * RCS: @(#) $Id: tclUnixNotfy.c,v 1.11.2.2 2003/07/16 22:09:48 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]; |