[Expat-bugs] [ expat-Bugs-1895659 ] wrong expression
SourceForge.net
noreply at sourceforge.net
Sun Feb 17 23:06:07 CET 2008
Bugs item #1895659, was opened at 2008-02-17 14:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1895659&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: www.libexpat.org
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: wrong expression
Initial Comment:
Dear Sir or Madam,
I found a minor bugs in Expat 2.0.1.
xmltok_impl.c Line 1661:
if (MINBPC(enc) == 1 && *ptr1 == *ptr2)
should be
if ((MINBPC(enc) == 1) && (*ptr1 == *ptr2))
since && has a higher priority than ==.
Sincerely,
Sebastian Gottschalk
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1895659&group_id=10127
More information about the Expat-bugs
mailing list