mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
- Use correct string inunicode mode
This commit is contained in:
parent
1743344cdf
commit
0151e6ee5b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue