From f974d42e1800f341fa91e416781eab7e3af63ab0 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 26 May 2009 08:09:37 +0000 Subject: [PATCH] - add a note about the actual problen so we don't forget it --- ext/xmlwriter/php_xmlwriter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index 5a3004ed69..3927b3f9df 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -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) { -- 2.50.1