Project

General

Profile

Actions

Bug #40539

closed

Warning in Locker if filepointer is no resource

Added by Christian Kuhn over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-09-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The 'flock' locking calls flose() without checking if the filepointer
is actually a resource. This leads to warnings, triggered by
releaseDoesNotRemoveFilesNotWithinTypo3TempLocksDirectory().
Solution is to check for a valid resource before calling flock() and
fclose().

Actions

Also available in: Atom PDF