Permalink
Browse files

Small fixups: - xml2Conf.sh.in: fixes pointed out by Fredrik Hallenbe…

…rg -

Small fixups:
- xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg
- parserInternals.c: removed unneeded test raised by Stric
Daniel
  • Loading branch information...
1 parent e1dc011 commit 14be0a178f97516446ff036be91cafe24e077630 Daniel Veillard committed Mar 3, 2001
Showing with 12 additions and 10 deletions.
  1. +5 −0 ChangeLog
  2. +3 −6 parserInternals.c
  3. +4 −4 xml2Conf.sh.in
View
5 ChangeLog
@@ -1,3 +1,8 @@
+Sat Mar 3 19:45:59 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg
+ * parserInternals.c: removed unneeded test raised by Stric
+
Sat Mar 3 13:04:37 CET 2001 Bjorn Reese <breese@users.sourceforge.net>
* xpath.c: Fixed xmlXPathNodeCollectAndTest (problem reported
View
9 parserInternals.c
@@ -2196,12 +2196,9 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
ctxt->spaceTab[0] = -1;
ctxt->space = &ctxt->spaceTab[0];
- if (sax == NULL) {
- ctxt->sax = &xmlDefaultSAXHandler;
- } else {
- ctxt->sax = sax;
- memcpy(sax, &xmlDefaultSAXHandler, sizeof(xmlSAXHandler));
- }
+ ctxt->sax = sax;
+ memcpy(sax, &xmlDefaultSAXHandler, sizeof(xmlSAXHandler));
+
ctxt->userData = ctxt;
ctxt->myDoc = NULL;
ctxt->wellFormed = 1;
View
8 xml2Conf.sh.in
@@ -1,8 +1,8 @@
#
# Configuration file for using the XML library in GNOME applications
#
-XML_LIBDIR="@XML_LIBDIR@"
-XML_LIBS="@XML_LIBS@"
-XML_INCLUDEDIR="@XML_INCLUDEDIR@"
-MODULE_VERSION="xml-@VERSION@"
+XML2_LIBDIR="@XML_LIBDIR@"
+XML2_LIBS="@XML_LIBS@"
+XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
+MODULE_VERSION="xml2-@VERSION@"

0 comments on commit 14be0a1

Please sign in to comment.