libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 20 21:32:02 UTC 2019


 src/XlibInt.c |   55 +++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 41 insertions(+), 14 deletions(-)

New commits:
commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Mar 24 11:07:36 2017 -0400

    _XDefaultIOError: Do better at detecting explicit shutdown
    
    Currently, when the X server crashes or a client is disconnected with
    XKillClient, you get a somewhat confusing error message from libX11
    along the lines of:
    
    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
          after 98 requests (40 known processed) with 0 events remaining.
    
    What's happening here is the previous recvmsg has thrown EAGAIN, since
    the socket is non-blocking. In this case, check whether the socket has
    any more data to read, and if not treat it like EPIPE.
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Mar 24 11:07:35 2017 -0400

    _XDefaultIOError: Reformat to be less ugly
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list