Re: XtRemoveTimeOut() with value of 0 accvios under 7.3-2, but not under 7.1-2



Based upon my reading of XtRemoveTimeout() (regulat X-Windows stuff),
the program is doing something it shouldn't. The argument to
XtRemoveTimeout is a TimerID, and shouldn't be 0. It should be a
non-zero value returned from XtAppAddTimeOut(), where a 0 return
indicates that the timeout was not set (and therefore there is nothing
to remove).

That being said, I wouldn't expect XtRemoveTimeout to crash on a value
of 0, either...

.



Relevant Pages