From: Marcus Boerger Date: Sat, 29 Oct 2005 15:48:14 +0000 (+0000) Subject: - Increase buffer for 64 bit systems X-Git-Tag: RELEASE_2_0_1~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdb7ff4c2ed0823748fb51bce96633b5bde518b7;p=php - Increase buffer for 64 bit systems --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index a5bb680350..df145958d1 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -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);