[Expat-checkins] expat/lib xmlparse.c,1.154,1.155

Fred L. Drake fdrake at users.sourceforge.net
Sat Jul 1 19:19:28 CEST 2006


Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv24810/lib

Modified Files:
	xmlparse.c 
Log Message:
SF bug #1515266: as noted, suspending the parser has the same problem that
the abort code has; added a check and regression test or that


Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- xmlparse.c	1 Jul 2006 03:57:29 -0000	1.154
+++ xmlparse.c	1 Jul 2006 15:30:37 -0000	1.155
@@ -2555,7 +2555,7 @@
                                  (int)(dataPtr - (ICHAR *)dataBuf));
             if (s == next)
               break;
-            if (ps_parsing == XML_FINISHED)
+            if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED)
               break;
             *eventPP = s;
           }



More information about the Expat-checkins mailing list