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:
@ -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);
|
||||
|
Reference in New Issue
Block a user