1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

more fixes. Daniel

* parser.c testapi.c xmlIO.c xmlstring.c: more fixes.
Daniel
This commit is contained in:
Daniel Veillard
2004-11-08 11:54:28 +00:00
parent 4259532303
commit 5ea30d7f95
5 changed files with 31 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ static int generic_errors = 0;
static int call_tests = 0;
static int function_tests = 0;
static xmlChar chartab[1024] = " chartab\n";
static xmlChar chartab[1024];
static int inttab[1024];
static unsigned long longtab[1024];
@@ -110,6 +110,11 @@ int main(int argc, char **argv) {
int ret;
int blocks, mem;
memset(chartab, 0, sizeof(chartab));
strncpy(chartab, " chartab\n", 20);
memset(inttab, 0, sizeof(inttab));
memset(longtab, 0, sizeof(longtab));
xmlInitParser();
#ifdef LIBXML_SCHEMAS_ENABLED
xmlRelaxNGInitTypes();