Article View: comp.windows.x
Article #25183bug report: libsun/events.c (X.V10R3)
From: jonah
Date: Mon, 16 Mar 1987 18:22
Date: Mon, 16 Mar 1987 18:22
11 lines
978 bytes
978 bytes
I don't know if this has been reported before, but there is a bug in
the event time conversion in libsun/events.c (X.V10R3). The
implementor forgot to scale the seconds properly. Check your local
copy to see.
-----
Here's the bug:
100 xe->vse_time = (se->ie_time.tv_usec/10000 + se->ie_time.tv_sec);
-----
And the fix:
110c
xe->vse_time = (se->ie_time.tv_usec/10000 + se->ie_time.tv_sec*100);
Technical Details
Message-ID:
<8703161822.AA12199@simon.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!husc6!bacchus!mit-eddie!ll-xn!ames!ucbcad!ucbvax!uwocsd.UUCP!jonahShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!husc6!bacchus!mit-eddie!ll-xn!ames!ucbcad!ucbvax!uwocsd.UUCP!jonah From: jonah@uwocsd.UUCP Newsgroups: comp.windows.x Subject: bug report: libsun/events.c (X.V10R3) Message-ID: <8703161822.AA12199@simon.UUCP> Date: Mon, 16-Mar-87 13:22:35 EST Article-I.D.: simon.8703161822.AA12199 Posted: Mon Mar 16 13:22:35 1987 Date-Received: Tue, 17-Mar-87 04:13:56 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 11