Doc #53316 [NEW]: Locks still do not have to be removed manually.
| From: | DirectSoft1024 at mail dot ru | Date: | Mon, 15 Nov 2010 10:57:51 +0000 |
| Subject: | Doc #53316 [NEW]: Locks still do not have to be removed manually. | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-5525@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux
PHP version: 5.3.3
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Locks still do not have to be removed manually.
Description:
------------
Documentation at http://nl2.php.net/manual/en/function.flock.php
contains
phrase "The automatic unlocking when the file's resource handle is closed
was removed. Unlocking now always has to be done manually."
Although it no longer calls flock(LOCK_UN) upon encountering fclose(), lock
still becomes released by OS when file is closed. So, the phrase "unlocking
now always has to be done manually" sounds confusing. Unlocking is still
automatic just like it was bore. The only thing that changed is that now
it's done not at PHP user side, but inside OS kernel.
--
Edit bug report at http://bugs.php.net/bug.php?id=53316&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53316&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53316&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53316&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53316&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53316&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53316&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53316&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53316&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53316&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53316&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53316&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53316&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53316&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53316&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53316&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53316&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53316&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53316&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53316&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53316&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53316&r=mysqlcfg