Re: PHP 4.0 Bug #4827 Updated: Have flock accept LOCK_* instead of 1, 2 ...
| From: | juhl at eisenstein dot dk | Date: | Tue, 06 Jun 2000 08:15:38 +0000 |
| Subject: | Re: PHP 4.0 Bug #4827 Updated: Have flock accept LOCK_* instead of 1, 2 ... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20303@lists.php.net to get a copy of this message | ||
> ID: 4827
> Updated by: rasmus
> Reported By: juhl@eisenstein.dk
> Status: Closed
> Bug Type: Feature/Change Request
> Assigned To:
> Comments:
>
> This has been implemented. There is now an
optional 3rd arg
>
> to flock() which will be set to true if
EWOULDBLOCK is set,
>
> and you can now pass in the various LOCK_*
constants instead
>
> of sending actual numbers.
>
> Full Bug description available at:
http://bugs.php.net/version4/?id=4827
>
Great, but shouldn't the manual then
recommend that people use the LOCK_*
constants and not the numbers?
Currently the manual only mention the
numbers, and there's no mention of the
optional third argument.
Mvh.
Jesper Juhl
juhl@eisenstein.dk