[TYPO3-core] RFC: #8980: unlink of non existant lockfiles generates warnings in frontend
André Stösel
andre at stoesel.de
Fri Sep 10 08:44:48 CEST 2010
Why replace one race condition with another?
We just have to use fopen(.., 'x') instead.
(See mail "RFC #8980: Bug: Prevent race conditions")
So I vote -1.
> On 22.02.10 22:00, Susanne Moog wrote:
> >> would you update your patch, taking the comments into account?
>
> Updated version attached, as I just saw this error in my log.
>
> Although I'd really prefer the @unlink version (because you can never
> be sure that not two processes execute the file_exists() at the same
> time), I updated the file_exists-version with Georg's comments.
>
> Kind regards
> Steffen
>
More information about the TYPO3-team-core
mailing list