mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-01 17:47:01 +03:00
Martin Cole pointed out a bug in xmlCatalogAdd() if /etc/xml/catalog
* catalog.c: Martin Cole pointed out a bug in xmlCatalogAdd() if /etc/xml/catalog doesn't exist. Daniel
This commit is contained in:
parent
d463c99fd8
commit
27bec1461b
@ -1,3 +1,8 @@
|
||||
Fri Feb 24 21:20:33 CET 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* catalog.c: Martin Cole pointed out a bug in xmlCatalogAdd()
|
||||
if /etc/xml/catalog doesn't exist.
|
||||
|
||||
Thu Feb 23 23:06:18 CET 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* doc//*: updated the Ruby bindings links, and regenerated the
|
||||
|
@ -1546,6 +1546,7 @@ xmlAddXMLCatalog(xmlCatalogEntryPtr catal, const xmlChar *type,
|
||||
cur->next = xmlNewCatalogEntry(typ, orig, replace,
|
||||
NULL, catal->prefer, NULL);
|
||||
if (doregister) {
|
||||
catal->type = XML_CATA_CATALOG;
|
||||
cur = xmlHashLookup(xmlCatalogXMLFiles, catal->URL);
|
||||
if (cur != NULL)
|
||||
cur->children = catal->children;
|
||||
|
Loading…
x
Reference in New Issue
Block a user