pajoye Tue May 26 08:09:37 2009 UTC
Modified files: (Branch: PHP_5_2)
/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.20.2.12.2.22&r2=1.20.2.12.2.23&diff_format=u
Index: php-src/ext/xmlwriter/php_xmlwriter.c
diff -u php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.22
php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.23
--- php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.22 Mon May 25
16:27:45 2009
+++ php-src/ext/xmlwriter/php_xmlwriter.c Tue May 26 08:09:37 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xmlwriter.c,v 1.20.2.12.2.22 2009/05/25 16:27:45 pajoye Exp $ */
+/* $Id: php_xmlwriter.c,v 1.20.2.12.2.23 2009/05/26 08:09:37 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1479,6 +1479,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