]> granicus.if.org Git - php/commitdiff
- add a note about the actual problen so we don't forget it
authorPierre Joye <pajoye@php.net>
Tue, 26 May 2009 08:09:37 +0000 (08:09 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 26 May 2009 08:09:37 +0000 (08:09 +0000)
ext/xmlwriter/php_xmlwriter.c

index 5a3004ed69a55f39449e975d9bb6d99ef18bc99a..3927b3f9dfb3d0cf0962036f554fcadee68a2609 100644 (file)
@@ -1479,6 +1479,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) {