[Bug 996] read_fixed() fails with 0
[email protected] Tue, 18 Nov 2014 14:00:30 +0000
| Newsgroups | gmane.comp.corba.jacorb.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
http://www.jacorb.org/bugzilla/show_bug.cgi?id=996 Juergen Weber <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #2 from Juergen Weber <[email protected]> --- 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. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ jacorb-bugs mailing list [email protected] https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-bugs