[Xcb] [Bug 90231] New: Missing string end in xcb-requests man page

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 29 04:58:55 PDT 2015


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

            Bug ID: 90231
           Summary: Missing string end in xcb-requests man page
           Product: XCB
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Docs
          Assignee: xcb at lists.freedesktop.org
          Reporter: Stefan-Merettig at NuriaProject.org
        QA Contact: xcb at lists.freedesktop.org

Hi,

the xcb-requests man page is missing the string end double-quote in the
printf() line in the COOKIES section:

void my_example(xcb_connection *conn) {
    xcb_intern_atom_cookie_t cookie;
    xcb_intern_atom_reply_t *reply;

    cookie = xcb_intern_atom(conn, 0, strlen("_NET_WM_NAME"),
                             "_NET_WM_NAME");
    /⁠* ... do other work here if possible ... */⁠
    if ((reply = xcb_intern_atom_reply(conn, cookie, NULL))) {
 printf("The _NET_WM_NAME atom has ID %u0, reply-⁠>atom); /⁠/⁠ <====
    }
    free(reply);
}

Needed change would be:

-  printf("The _NET_WM_NAME atom has ID %u0, reply-⁠>atom);
+  printf("The _NET_WM_NAME atom has ID %u0", reply-⁠>atom);

Kind regards,
Stefan

-- 
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/20150429/b99a7d99/attachment.html>


More information about the Xcb mailing list