diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-03-18 18:36:20 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-03-18 18:36:20 +0000 |
commit | 5997aca8b8d6b6803e195978127f97d94e5931a7 (patch) | |
tree | efe92c238a00a6f9496e2d5ba18188ed6ea43f64 /xmlmemory.c | |
parent | b5a60eccfd6a14ac4dea3f00714bf716b66e4cc6 (diff) | |
download | android_external_libxml2-5997aca8b8d6b6803e195978127f97d94e5931a7.tar.gz android_external_libxml2-5997aca8b8d6b6803e195978127f97d94e5931a7.tar.bz2 android_external_libxml2-5997aca8b8d6b6803e195978127f97d94e5931a7.zip |
humm, changed the way the SAX parser work when
* parser.c: humm, changed the way the SAX parser work when
xmlSubstituteEntitiesDefault(1) is set, it will then
do the entity registration and loading by itself in case the
user provided SAX getEntity() returns NULL.
* testSAX.c: added --noent to test the behaviour.
Daniel
Diffstat (limited to 'xmlmemory.c')
-rw-r--r-- | xmlmemory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlmemory.c b/xmlmemory.c index 3938a047..1c1ed361 100644 --- a/xmlmemory.c +++ b/xmlmemory.c @@ -653,6 +653,8 @@ xmlMemoryDump(void) { FILE *dump; + if (debugMaxMemSize == 0) + return; dump = fopen(".memdump", "w"); if (dump == NULL) xmlMemoryDumpFile = stderr; |