1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

some cleanups when chasing unappropriate stdout output. Daniel

* debugXML.c tree.c xmlIO.c xmlmemory.c: some cleanups when chasing
  unappropriate stdout output.
Daniel
This commit is contained in:
Daniel Veillard
2001-11-22 18:20:37 +00:00
parent 566d4dfac3
commit cd337f0bc6
5 changed files with 38 additions and 29 deletions

View File

@ -642,7 +642,8 @@ xmlMemoryDump(void)
FILE *dump;
dump = fopen(".memdump", "w");
if (dump == NULL) xmlMemoryDumpFile = stdout;
if (dump == NULL)
xmlMemoryDumpFile = stderr;
else xmlMemoryDumpFile = dump;
xmlMemDisplay(xmlMemoryDumpFile);