summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-05-18 10:49:20 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-05-18 10:49:20 +0000
commit7feb0234b148df6f72bea03fa00a69162a40f830 (patch)
tree3cb937c1cee1f4bacc9d4140d2dd0cb2f172bcfa /catalog.c
parent81205015ab579394ebd12dafd26f84210f744a5e (diff)
downloadlibxml2-7feb0234b148df6f72bea03fa00a69162a40f830.tar.gz
reverted the broken change. Daniel
* catalog.c: reverted the broken change. Daniel
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog.c b/catalog.c
index 7c328f2a..711761e7 100644
--- a/catalog.c
+++ b/catalog.c
@@ -3510,7 +3510,7 @@ xmlCatalogLocalResolveURI(void *catalogs, const xmlChar *URI) {
const xmlChar *
xmlCatalogGetSystem(const xmlChar *sysID) {
xmlChar *ret;
- xmlChar result[1000];
+ static xmlChar result[1000];
static int msg = 0;
if (!xmlCatalogInitialized)
@@ -3554,7 +3554,7 @@ xmlCatalogGetSystem(const xmlChar *sysID) {
const xmlChar *
xmlCatalogGetPublic(const xmlChar *pubID) {
xmlChar *ret;
- xmlChar result[1000];
+ static xmlChar result[1000];
static int msg = 0;
if (!xmlCatalogInitialized)