If you have a *tested* patch, please send it. I don't have any systems that exhibit the kind of broken behavior you describe, and can't test it myself. This is very security-sensitive code so I am hesitant to make any changes at all without them being very obviously correct.
It's also important that you understand and explain what systems this affects and how to properly detect that it is available, if the routines you are calling are not POSIX. timers.c:check_for_clock_skew() is what you're looking for. However it is only called every pointerPollTime seconds (default 5) and even then only if /proc/interrupts exists. (Which I suppose means that the clock skew check never happens on BSD?) Also note that if the wall clock moves backwards, XtInterval timers completely fail to fire until the clock catches up. This is an unfixable failure in the bowels of Xt. It's great to know that even here in This Modern World, trying to close the lid on a Linux laptop and have anything work is still slapstick comedy. What year is this? -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

