]> granicus.if.org Git - php/commitdiff
- Increase buffer for 64 bit systems
authorMarcus Boerger <helly@php.net>
Sat, 29 Oct 2005 15:48:14 +0000 (15:48 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 29 Oct 2005 15:48:14 +0000 (15:48 +0000)
ext/spl/spl_directory.c

index a5bb680350068534a71f2757dcfff975be6b054c..df145958d18b9f81b55011c63dcf8a9f352e6695 100755 (executable)
@@ -1306,7 +1306,7 @@ SPL_METHOD(SplFileObject, __construct)
 SPL_METHOD(SplTempFileObject, __construct)
 {
        long max_memory = PHP_STREAM_MAX_MEM;
-       char tmp_fname[32];
+       char tmp_fname[48];
        spl_filesystem_object *intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
 
        php_set_error_handling(EH_THROW, U_CLASS_ENTRY(spl_ce_RuntimeException) TSRMLS_CC);