Module Name: xsrc
Committed By: mrg
Date: Thu Jul 9 02:01:47 UTC 2009
Modified Files:
xsrc/external/mit/libXt/dist/src: NextEvent.c
Removed Files:
xsrc/external/mit/libXt/dist: autogen.sh
Log Message:
merge libXt 1.0.6
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/libXt/dist/autogen.sh
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libXt/dist/src/NextEvent.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/libXt/dist/src/NextEvent.c
diff -u xsrc/external/mit/libXt/dist/src/NextEvent.c:1.2 xsrc/external/mit/libXt/dist/src/NextEvent.c:1.3
--- xsrc/external/mit/libXt/dist/src/NextEvent.c:1.2 Wed Jul 30 05:24:54 2008
+++ xsrc/external/mit/libXt/dist/src/NextEvent.c Thu Jul 9 02:01:47 2009
@@ -579,6 +579,7 @@
#ifdef USE_POLL
wf.fdlist = NULL;
wf.stack = fdlist;
+ wf.fdlistlen = wf.num_dpys = 0;
#endif
WaitLoop:
@@ -1438,7 +1439,7 @@
X_GETTIMEOFDAY (&cur_time);
FIXUP_TIMEVAL(cur_time);
if ((IS_AT_OR_AFTER(app->timerQueue->te_timer_value, cur_time)) &&
- (app->timerQueue->te_proc != 0)) {
+ (app->timerQueue->te_proc != NULL)) {
ret |= XtIMTimer;
}
}