Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 14be0a178f97516446ff036be91cafe24e077630 1 parent e1dc011
Daniel Veillard authored

Showing 3 changed files with 12 additions and 10 deletions. Show diff stats Hide diff stats

  1. +5 0 ChangeLog
  2. +3 6 parserInternals.c
  3. +4 4 xml2Conf.sh.in
5 ChangeLog
... ... @@ -1,3 +1,8 @@
  1 +Sat Mar 3 19:45:59 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
  2 +
  3 + * xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg
  4 + * parserInternals.c: removed unneeded test raised by Stric
  5 +
1 6 Sat Mar 3 13:04:37 CET 2001 Bjorn Reese <breese@users.sourceforge.net>
2 7
3 8 * xpath.c: Fixed xmlXPathNodeCollectAndTest (problem reported
9 parserInternals.c
@@ -2196,12 +2196,9 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
2196 2196 ctxt->spaceTab[0] = -1;
2197 2197 ctxt->space = &ctxt->spaceTab[0];
2198 2198
2199   - if (sax == NULL) {
2200   - ctxt->sax = &xmlDefaultSAXHandler;
2201   - } else {
2202   - ctxt->sax = sax;
2203   - memcpy(sax, &xmlDefaultSAXHandler, sizeof(xmlSAXHandler));
2204   - }
  2199 + ctxt->sax = sax;
  2200 + memcpy(sax, &xmlDefaultSAXHandler, sizeof(xmlSAXHandler));
  2201 +
2205 2202 ctxt->userData = ctxt;
2206 2203 ctxt->myDoc = NULL;
2207 2204 ctxt->wellFormed = 1;
8 xml2Conf.sh.in
... ... @@ -1,8 +1,8 @@
1 1 #
2 2 # Configuration file for using the XML library in GNOME applications
3 3 #
4   -XML_LIBDIR="@XML_LIBDIR@"
5   -XML_LIBS="@XML_LIBS@"
6   -XML_INCLUDEDIR="@XML_INCLUDEDIR@"
7   -MODULE_VERSION="xml-@VERSION@"
  4 +XML2_LIBDIR="@XML_LIBDIR@"
  5 +XML2_LIBS="@XML_LIBS@"
  6 +XML2_INCLUDEDIR="@XML_INCLUDEDIR@"
  7 +MODULE_VERSION="xml2-@VERSION@"
8 8

0 comments on commit 14be0a1

Please sign in to comment.
Something went wrong with that request. Please try again.