svn: /phpdoc/en/trunk/reference/filesystem/functions/ flock.xml
| From: | Daniel Egeberg | Date: | Fri, 14 May 2010 07:43:23 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ flock.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6651@lists.php.net to get a copy of this message | ||
degeberg Fri, 14 May 2010 07:43:23 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299368
Log:
Fixed PHP bug #51771 (fclose() seems not to unlock the file)
Bug: http://bugs.php.net/51771 (Open) fclose() seems not to
unlock the file
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/flock.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/flock.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/flock.xml 2010-05-14 07:18:04 UTC (rev 299367)
+++ phpdoc/en/trunk/reference/filesystem/functions/flock.xml 2010-05-14 07:43:23 UTC (rev 299368)
@@ -107,6 +107,12 @@
</thead>
<tbody>
<row>
+ <entry>5.3.2</entry>
+ <entry>
+ The automatic unlocking when the file's resource handle is closed was
+ removed. Unlocking now always has to be done manually.
+ </row>
+ <row>
<entry>4.0.1</entry>
<entry>
The <literal>LOCK_XXX</literal> constants were added. Prior to that
@@ -187,13 +193,6 @@
<function>fopen</function>).
</para>
</note>
- <note>
- <para>
- POSIX.1 compatible systems will release the scripts
<function>flock</function>'s
- on a file, if the scripts uses <function>fclose</function> on any file handle
- on that file.
- </para>
- </note>
<warning>
<para>
Assigning other value to <parameter>handle</parameter> argument in the