mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Merge branch 'PHP-5.4'
* PHP-5.4: Fix grammo
This commit is contained in:
commit
8da61c62d9
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ PHP_FUNCTION(touch)
|
||||||
PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, int filename_len TSRMLS_DC)
|
PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, int filename_len TSRMLS_DC)
|
||||||
{
|
{
|
||||||
/* always clear CurrentStatFile and CurrentLStatFile even if filename is not NULL
|
/* always clear CurrentStatFile and CurrentLStatFile even if filename is not NULL
|
||||||
* as it may contains outdated data (e.g. "nlink" for a directory when deleting a file
|
* as it may contain outdated data (e.g. "nlink" for a directory when deleting a file
|
||||||
* in this directory, as shown by lstat_stat_variation9.phpt) */
|
* in this directory, as shown by lstat_stat_variation9.phpt) */
|
||||||
if (BG(CurrentStatFile)) {
|
if (BG(CurrentStatFile)) {
|
||||||
efree(BG(CurrentStatFile));
|
efree(BG(CurrentStatFile));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue