Project

General

Profile

Actions

Bug #31460

closed

flock() in class.t3lib_div.php

Added by Timm about 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-10-31
Due date:
% Done:

100%

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

Description

Hi,

we're serving T3 v4.6.0 from NFS. First thanks for the last release with some alternative locking methods.

At line 5499 and 5584 in file ./typo3_src-4.6.0/t3lib/class.t3lib_div.php we found some flock()-calls wich breaks down php.

Our workaround is to comment out the flock()s.

Support for new locking methods in class.t3lib_div.php would be great.

There are also some other files with flock():

./typo3_src-4.6.0/typo3/sysext/adodb/adodb/adodb-active-record.inc.php:361: @flock($fp, LOCK_SH);
./typo3_src-4.6.0/typo3/sysext/adodb/adodb/adodb-active-recordx.inc.php:420: @flock($fp, LOCK_SH);
./typo3_src-4.6.0/typo3/sysext/adodb/adodb/adodb-csvlib.inc.php:103: @flock($fp, LOCK_SH);
./typo3_src-4.6.0/typo3/sysext/adodb/adodb/adodb-csvlib.inc.php:305: if (flock($fd, LOCK_EX) && ftruncate($fd, 0)) {
./typo3_src-4.6.0/t3lib/mail/class.t3lib_mail_mboxtransport.php:101: flock($file, LOCK_EX);
./typo3_src-4.6.0/t3lib/mail/class.t3lib_mail_mboxtransport.php:103: flock($file, LOCK_UN);

Regards,

timm


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #34662: Fatal error 't3lib_lock' does not exist if deprecationLog = 'file'Closed2012-03-08

Actions
Related to TYPO3 Core - Bug #18716: Acquired lock/Released lock entries in system logClosedMichael Stucki2008-04-28

Actions
Actions

Also available in: Atom PDF