[Bug 1755] _XGetAsyncReply mishandling of 'discard' parameter
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 1 10:55:18 PST 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1755
------- Additional Comments From otaylor at redhat.com 2004-11-01 10:55 -------
Usage of XGetAsyncReply with discard == True in Xlib are:
XGetWindowAttributes(): Nothing to discard
XInternAtom(): Nothing to discard
QueryExtension (from XOpenDisplay): nothing to discard
It only affects the case when you are actually discarding
something, and the XIOError case where the server sends back a
too short reply. I noticed this because I accidentally passed True
for GetProperty and corrupted the protocol stream
in a way I didn't expect.
I expect passing discard=True in a case where it matters is rare
for both _XReply and _XGetAsyncReply.
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list