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

          Priority: medium
            Bug ID: 73339
          Assignee: [email protected]
           Summary: libwayland: the library should not print anything to
                    stderr
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

For example, the library prints a message to stderr if the XDG_RUNTIME_DIR
envrionment variable is not set:

http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-client.c?id=cd0dccd01e16fa404e03974d30ded3aebdb1c4bc#n636

There are other cases.

A library should normally never print anything, unless it can be overridden by
setting a message callback. Outputting something, even to stderr, can cause for
terminal programs which want to keep their output clean, especially in case of
non-fatal errors, or for example catch the error message and send it somewhere
else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to