diff options
author | andreas_kupries <andreas_kupries@noemail.net> | 2006-08-22 17:45:01 (GMT) |
---|---|---|
committer | andreas_kupries <andreas_kupries@noemail.net> | 2006-08-22 17:45:01 (GMT) |
commit | d58bf5d080932fded82202e4411a3f8f8ae3ddf4 (patch) | |
tree | 0e8c23557d2161bc7521d17ae7933b2dd94f1633 /unix/tclUnixNotfy.c | |
parent | 685b8860edd488fdd10c15a2116a1cf7db506901 (diff) | |
download | tcl-d58bf5d080932fded82202e4411a3f8f8ae3ddf4.zip tcl-d58bf5d080932fded82202e4411a3f8f8ae3ddf4.tar.gz tcl-d58bf5d080932fded82202e4411a3f8f8ae3ddf4.tar.bz2 |
* unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed broken if syntax
committed 2006-08-21 by Daniel. The broken syntax is visible to
all unix platforms, but not on OSX for machines which
HAVE_COREFOUNDATION.
FossilOrigin-Name: 0671965d0f30c0a8a5f11c2572e4a8017824580e
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r-- | unix/tclUnixNotfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 118fa79..a2f4642 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.15 2006/08/21 01:08:10 das Exp $ + * RCS: @(#) $Id: tclUnixNotfy.c,v 1.11.2.16 2006/08/22 17:45:02 andreas_kupries Exp $ */ #include "tclInt.h" @@ -714,7 +714,7 @@ Tcl_WaitForEvent(timePtr) Tcl_MutexLock(¬ifierMutex); waitForFiles = (tsdPtr->numFdBits > 0); - if (timePtr != NULL && timePtr->sec == 0 && timePtr->usec == 0) { + if (timePtr != NULL && timePtr->sec == 0 && (timePtr->usec == 0 #if defined(__APPLE__) && defined(__LP64__) /* * On 64-bit Darwin, pthread_cond_timedwait() appears to have a bug |