libX11: Changes to 'master'

Jamey Sharp jamey at kemper.freedesktop.org
Sun Nov 26 00:24:11 EET 2006


 src/xcb_io.c |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

New commits:
commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456
Author: Jamey Sharp <jamey at minilop.net>
Date:   Sat Nov 25 14:23:45 2006 -0800

    Bug #9154: Always process an event for _XReadEvents, even if an error occurs
    
    Previously, process_responses (in the wait_for_first_event case called
    from _XReadEvents) considered any return from xcb_wait_for_event
    sufficient to think it had processed an event. If xcb_wait_for_event
    returned an error, and no more events occurred before process_responses
    called xcb_poll_for_event, process_responses would try to return with
    dpy->head NULL, and would fail an assertion for the _XReadEvents
    postcondition. Now, process_responses continues using xcb_wait_for_event
    until it gets an event.




More information about the xorg-commit mailing list