<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - libwayland: the library should not print anything to stderr"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73339">73339</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>libwayland: the library should not print anything to stderr
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nfxjfg@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>wayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>For example, the library prints a message to stderr if the XDG_RUNTIME_DIR
envrionment variable is not set:
<a href="http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-client.c?id=cd0dccd01e16fa404e03974d30ded3aebdb1c4bc#n636">http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-client.c?id=cd0dccd01e16fa404e03974d30ded3aebdb1c4bc#n636</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>