pajoye Tue May 26 08:10:03 2009 UTC
Modified files:
/php-src/ext/xmlwriter php_xmlwriter.c
Log:
- add a note about the actual problen so we don't forget it
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.62&r2=1.63&diff_format=u
Index: php-src/ext/xmlwriter/php_xmlwriter.c
diff -u php-src/ext/xmlwriter/php_xmlwriter.c:1.62
php-src/ext/xmlwriter/php_xmlwriter.c:1.63
--- php-src/ext/xmlwriter/php_xmlwriter.c:1.62 Mon May 25 16:16:54 2009
+++ php-src/ext/xmlwriter/php_xmlwriter.c Tue May 26 08:10:03 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xmlwriter.c,v 1.62 2009/05/25 16:16:54 pajoye Exp $ */
+/* $Id: php_xmlwriter.c,v 1.63 2009/05/26 08:10:03 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1815,6 +1815,9 @@
RETURN_FALSE;
}
+ /* TODO: Fix either the PHP stream or libxml APIs: it can then detect
when a given
+ path is valid and not report out of memory error. Once it is
done, remove the
+ directory check in _xmlwriter_get_valid_file_path */
#ifndef ZEND_ENGINE_2
ioctx = php_xmlwriter_streams_IO_open_write_wrapper(valid_file
TSRMLS_CC);
if (ioctx == NULL) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php