1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +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

@ -399,6 +399,8 @@ xmlFileClose (void * context) {
return(0);
if (fil == stdout)
return(0);
if (fil == stderr)
return(0);
return ( ( fclose((FILE *) context) == EOF ) ? -1 : 0 );
}