nanogui: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c


Previous by date: 22 Aug 2001 22:15:10 -0000 multibyte patch 0.4 is available., 이상백
Next by date: 22 Aug 2001 22:15:10 -0000 Re: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c, Jordan Crouse
Previous in thread:
Next in thread: 22 Aug 2001 22:15:10 -0000 Re: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c, Jordan Crouse

Subject: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c
From: "I-Jui Sung" ####@####.####
Date: 22 Aug 2001 22:15:10 -0000
Message-Id: <001d01c12b5a$09bb5ed0$0e8c718c@biou>

In the function GrCheckNextEvent(), the client-side event queue is not
checked at all, while the function GrGetNextEventTimeout() DO check this
client-side event queue.
So, an event previously fetched in client-side queue will not be seen by the
GrCheckNextEvent!
To fix this inconsistancy, the following lines should be inserted in the
first line in GrCheckNextEvent() (in nanox/client.c)

/*Checking client side queue before querying server */
if (evlist) { GetNextQueuedEvent(ep); CheckErrorEvent(ep); return; }

Regards,
I-Jui Sung




Previous by date: 22 Aug 2001 22:15:10 -0000 multibyte patch 0.4 is available., 이상백
Next by date: 22 Aug 2001 22:15:10 -0000 Re: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c, Jordan Crouse
Previous in thread:
Next in thread: 22 Aug 2001 22:15:10 -0000 Re: Possible bug in GrCheckNextEvent() in nanox/client_ecos.c, Jordan Crouse


Powered by ezmlm-browse 0.20.