<html>
<head>
<base href="http://www.jacorb.org/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:juergen@jwi.de" title="Juergen Weber <juergen@jwi.de>"> <span class="fn">Juergen Weber</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - read_fixed() fails with 0"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=996">bug 996</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - read_fixed() fails with 0"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=996#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - read_fixed() fails with 0"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=996">bug 996</a>
from <span class="vcard"><a class="email" href="mailto:juergen@jwi.de" title="Juergen Weber <juergen@jwi.de>"> <span class="fn">Juergen Weber</span></a>
</span></b>
<pre>The code still fails if called from the deprecated read_fixed()
(which is called from stubs generated with -generate_helper deprecated)
If called from read_fixed() digits is -1 and the condition of the new code is
false.
I think the core problem is in
if (outBuffer.length() > 0 || c != 0)
{
outBuffer.append(c);
}
which is equivalent to
if (c == 0)
if (outBuffer.length() == 0)
skip the character;
I do not understand why this code is there.</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>