<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Query INFO_LOG_LENGTH for empty info log should return 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97321#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Query INFO_LOG_LENGTH for empty info log should return 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97321">bug 97321</a>
from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
<pre>I guess the point is that you can't change one and not change the other. I
will not budge on that.
I also think it is wrong for glGetProgramInfoLog to not write a NUL when the
info log is empty. An application that does something like
glGetProgramInfoLog(prog, max_length, NULL, log);
printf("Info log:\n%s\n", log);
will print whatever garbage happens to be in log. You may argue that the
application is incorrect, but this usage is very, very common (among users of
glGetProgramInfoLog).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>