Closed Bug 15244 Opened 25 years ago Closed 25 years ago

Recent changes to CNavDTD.cpp broke pre-ANSI C++ compilers

Categories

(Core :: DOM: HTML Parser, defect, P3)

Sun
Solaris
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: rickg)

Details

Your changes to CNavDTD.cpp broke any pre-ANSI C++ compiler
which does not have a native boolean type.  The fix is simple:

Index: CNavDTD.cpp
===================================================================
RCS file: /cvsroot/mozilla/htmlparser/src/CNavDTD.cpp,v
retrieving revision 3.221
diff -u -r3.221 CNavDTD.cpp
--- CNavDTD.cpp 1999/09/30 04:04:47     3.221
+++ CNavDTD.cpp 1999/09/30 04:56:29
@@ -2773,7 +2773,7 @@
     result=mSink->AddLeaf(aNode);

 #if 1
-    PRBool done=false;
+    PRBool done=PR_FALSE;
     nsCParserNode*  theNode=CreateNode();
     while(!done) {
       CToken*   theToken=mTokenizer->PeekToken();
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed. Thanks for the quick catch.
changing qa contact for solaris bugs to hong
QA Contact: janc → hong
QA Contact: hong → george.drapeau
Off to Sun.
Changing QA contact to QA lead for Solaris port at Sun.
QA Contact: george.drapeau → raghu
I will need someone to kindly outline the steps to verify this fix.
thanks
-raghu
You need to log in before you can comment on or make changes to this bug.