[Expat-checkins] expat/lib xmlparse.c,1.53,1.54
kwaclaw@users.sourceforge.net
kwaclaw@users.sourceforge.net
Sat Jul 20 06:32:02 2002
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv12385
Modified Files:
xmlparse.c
Log Message:
Applied patch for bug #584183: crash in builds without DTD support
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- xmlparse.c 12 Jul 2002 16:24:33 -0000 1.53
+++ xmlparse.c 20 Jul 2002 13:31:06 -0000 1.54
@@ -764,10 +764,8 @@
#ifdef XML_DTD
isParamEntity = 0;
paramEntityParsing = XML_PARAM_ENTITY_PARSING_NEVER;
- return dtdInit(&dtd, parser);
-#else
- return 1;
#endif
+ return dtdInit(&dtd, parser);
}
int