diff options
author | Igor Zlatkovic <igor@src.gnome.org> | 2002-10-31 16:15:29 +0000 |
---|---|---|
committer | Igor Zlatkovic <igor@src.gnome.org> | 2002-10-31 16:15:29 +0000 |
commit | ee1494ae67c8f8b49345c300a12b1dc902d1af8e (patch) | |
tree | 6e2031add3fcc569d089ab2dec64e5fa908e14d6 /catalog.c | |
parent | 9fdd8f3f304b19c1350fc92493217387cbb38a9f (diff) | |
download | libxml2-ee1494ae67c8f8b49345c300a12b1dc902d1af8e.tar.gz |
fixed bug #96963, reverted to old behaviour of xmlLoadCatalogs
Diffstat (limited to 'catalog.c')
-rw-r--r-- | catalog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2917,7 +2917,7 @@ xmlLoadCatalog(const char *filename) /** * xmlLoadCatalogs: - * @paths: a space-separated list of catalog files. + * @paths: a list of directories separated by a colon or a space. * * Load the catalogs and makes their definitions effective for the default * external entity loader. @@ -2938,7 +2938,7 @@ xmlLoadCatalogs(const char *pathss) { while (IS_BLANK(*cur)) cur++; if (*cur != 0) { paths = cur; - while ((*cur != 0) && (!IS_BLANK(*cur))) + while ((*cur != 0) && (*cur != ':') && (!IS_BLANK(*cur))) cur++; path = xmlStrndup((const xmlChar *)paths, cur - paths); if (path != NULL) { |