[Xcb] [Bug 78140] The tutorial should have a section on error handling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 1 02:47:57 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78140

--- Comment #1 from Uli Schlachter <psychon at znc.in> ---
Uhm. Error replies from the server should be explained sufficently, I guess
(the whole deal with "checked vs unchecked errors").

For out of memory errors or I/O errors, the xcb_connection_t goes into an error
state. All function calls with it will fail and xcb_connection_has_error() can
tell you which error occured (there are some defines in xcb.h with a XCB_CONN_
prefix).

XCB never calls exit().

Would it be too much work for you to create a patch for the tutorial that adds
what you would have wanted to know? It should be available in git at
https://secure.freedesktop.org/cgit/xcb/ and clonable
fromgit://wiki.freedesktop.org/wiki/xcb.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20140501/a2aca659/attachment.html>


More information about the Xcb mailing list