summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-03-23 10:11:11 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-03-23 10:11:11 +0000
commit012ccc1c6d1b9d3d14f402c2a62a2bb94ec7e56d (patch)
treea3ec3b04fecbb7d466473a68d36356c7393176e4
parenta86c23e3a170bdae8b84618adff31b0a9eafd168 (diff)
downloadlibxml2-012ccc1c6d1b9d3d14f402c2a62a2bb94ec7e56d.tar.gz
Fixed xml-config --version, Daniel.
-rw-r--r--ChangeLog4
-rw-r--r--parser.c2
-rw-r--r--xml-config.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e669bfe6..1a7806e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 23 11:10:15 CET 1999 Daniel Veillard <Daniel.Veillard@w3.org>
+
+ * xml-config.in : applied patch to make --version work
+
1999-03-05 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (check-local): Alias for `tests' target. This will
diff --git a/parser.c b/parser.c
index 18051183..c83e81d1 100644
--- a/parser.c
+++ b/parser.c
@@ -3138,7 +3138,7 @@ xmlParseEntityRef(xmlParserCtxtPtr ctxt) {
* TODO: to be double checked !!!
*/
ent = xmlGetDocEntity(ctxt->doc, name);
- if ((ctxt->doc->standalone) ||
+ if ((ctxt->doc->standalone == 1) ||
((ctxt->doc->intSubset == NULL) &&
(ctxt->doc->extSubset == NULL))) {
if (ent == NULL) {
diff --git a/xml-config.in b/xml-config.in
index eb6375c1..8f4cfa30 100644
--- a/xml-config.in
+++ b/xml-config.in
@@ -44,7 +44,7 @@ while test $# -gt 0; do
;;
--version)
- echo @PACKAGE@ @XML_VERSION@
+ echo @PACKAGE@ @VERSION@
exit 0
;;