summaryrefslogtreecommitdiff
path: root/ext/xmlwriter
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-05-26 08:10:49 +0000
committerPierre Joye <pajoye@php.net>2009-05-26 08:10:49 +0000
commitd8b76a84116a646cb7b28f5c28a705a19ccb361f (patch)
treecc3a09b60d9a3b91bf28b05e2363ef84995a3418 /ext/xmlwriter
parent7811bcb155d2ede7a715519e09a9220a8b452e2c (diff)
downloadphp-git-d8b76a84116a646cb7b28f5c28a705a19ccb361f.tar.gz
- add a note about the actual problen so we don't forget it
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r--ext/xmlwriter/php_xmlwriter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c
index 8e566654bd..fe8200a265 100644
--- a/ext/xmlwriter/php_xmlwriter.c
+++ b/ext/xmlwriter/php_xmlwriter.c
@@ -1781,6 +1781,9 @@ static PHP_FUNCTION(xmlwriter_open_uri)
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) {