vrana Sun Nov 28 06:38:36 2004 EDT
Modified files: /phpdoc/en/reference/filesystem/functions flock.xml Log: fclose() releases the lock (bug #30600) http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/flock.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/filesystem/functions/flock.xml diff -u phpdoc/en/reference/filesystem/functions/flock.xml:1.10 phpdoc/en/reference/filesystem/functions/flock.xml:1.11 --- phpdoc/en/reference/filesystem/functions/flock.xml:1.10 Wed Nov 10 03:30:29 2004 +++ phpdoc/en/reference/filesystem/functions/flock.xml Sun Nov 28 06:38:36 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.flock"> <refnamediv> @@ -67,7 +67,8 @@ reader/writer model which can be used on virtually every platform (including most Unix derivatives and even Windows). The optional third argument is set to &true; if the lock would block (EWOULDBLOCK - errno condition) + errno condition). The lock is released also by <function>fclose</function> + (which is also called automatically when script finished). </simpara> <simpara> &return.success;