1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-04 01:47:02 +03:00

Fixed xml-config --version, Daniel.

This commit is contained in:
Daniel Veillard 1999-03-23 10:11:11 +00:00
parent a86c23e3a1
commit 012ccc1c6d
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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) {

View File

@ -44,7 +44,7 @@ while test $# -gt 0; do
;;
--version)
echo @PACKAGE@ @XML_VERSION@
echo @PACKAGE@ @VERSION@
exit 0
;;