From: Marcus Boerger Date: Thu, 18 Jan 2007 22:57:03 +0000 (+0000) Subject: - Use correct string inunicode mode X-Git-Tag: RELEASE_1_0_0RC1~219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0151e6ee5bed97269fe2dba071db822ff3a8e504;p=php - Use correct string inunicode mode --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 412e1f122f..21bb42a6d1 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -762,7 +762,7 @@ PHPAPI void php_u_stat(zend_uchar filename_type, const zstr filename, php_stat_l if (FAILURE == php_stream_path_encode(NULL, &fn, &filename_length, filename.u, filename_length, REPORT_ERRORS, context)) { RETURN_FALSE; } - php_stat(filename.s, filename_length, type, return_value TSRMLS_CC); + php_stat(fn, filename_length, type, return_value TSRMLS_CC); efree(fn); } }