From f3b46b64e6045e8de148d57aece66d9e8c79d255 Mon Sep 17 00:00:00 2001 From: Daniel Egeberg Date: Fri, 14 May 2010 07:43:23 +0000 Subject: [PATCH] Fixed PHP bug #51771 (fclose() seems not to unlock the file) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299368 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/flock.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/reference/filesystem/functions/flock.xml b/reference/filesystem/functions/flock.xml index 0a963a9ace..cf0cf00800 100644 --- a/reference/filesystem/functions/flock.xml +++ b/reference/filesystem/functions/flock.xml @@ -106,6 +106,12 @@ + + 5.3.2 + + The automatic unlocking when the file's resource handle is closed was + removed. Unlocking now always has to be done manually. + 4.0.1 @@ -187,13 +193,6 @@ fclose($fp); fopen). - - - POSIX.1 compatible systems will release the scripts flock's - on a file, if the scripts uses fclose on any file handle - on that file. - - Assigning other value to handle argument in the