Issue Bug Rejected

#69055Locking: File change times are cached

Bernhard Kraft 08/14/15, 12:28 updated 09/07/16, 11:01

Description

Here the change time of a locking file is determined:

https://git.typo3.org/Packages/TYPO3.CMS.git/blob/refs/heads/TYPO3_6-2:/typo3/sysext/core/Classes/Locking/Locker.php#l186

But according to the PHP manual those times get cached by PHP:

http://php.net/manual/en/function.filectime.php

    Note: The results of this function are cached. See clearstatcache() for more details.

Maybe “clearstatcache()” should get called before determining if to unlink() the cache file.

Reviews 1