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:
parent
a86c23e3a1
commit
012ccc1c6d
@ -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
|
||||
|
2
parser.c
2
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) {
|
||||
|
@ -44,7 +44,7 @@ while test $# -gt 0; do
|
||||
;;
|
||||
|
||||
--version)
|
||||
echo @PACKAGE@ @XML_VERSION@
|
||||
echo @PACKAGE@ @VERSION@
|
||||
exit 0
|
||||
;;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user