cleanup always use stdout if output is NULL don't close filedescriptors
* Makefile.am: cleanup
* debugXML.c: always use stdout if output is NULL
* xmlIO.c: don't close filedescriptors passed to outputBuffers
* python/Makefile.am python/generator.py python/libxml2class.txt
python/libxml_wrap.h python/types.c: augmented the number of bindings
handling FILE * and XPath contexts
* python/tests/Makefile.am: avoid a stupid problem due to the
use of TEST.
Daniel
diff --git a/xmlIO.c b/xmlIO.c
index 291b4d7..815df62 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -1966,7 +1966,7 @@
if (ret != NULL) {
ret->context = (void *) (long) fd;
ret->writecallback = xmlFdWrite;
- ret->closecallback = xmlFdClose;
+ ret->closecallback = NULL;
}
return(ret);