Bug #31460
closedflock() in class.t3lib_div.php
100%
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