ID:               42381
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs dot 20 dot zsh at spamgourmet dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Windows XP
 PHP Version:      5.2.3
 New Comment:

Can't reproduce ceashing. What you probably seeing is php waiting on
flock until it's killed by the timeout thread. 


Previous Comments:
------------------------------------------------------------------------

[2007-08-22 15:13:55] phpbugs dot 20 dot zsh at spamgourmet dot com

Description:
------------
Double-flock()ing a file with different handles crashes. 

Reproduce code:
---------------
<?php
$fp = fopen('generic-textfile.txt', 'w');
flock($fp, LOCK_EX);
$fp2 = fopen('generic-textfile.txt', 'w');
flock($fp2, LOCK_EX);
echo 'Dun!';
?>

Expected result:
----------------
Dun!

Actual result:
--------------
Nothing


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42381&edit=1

Reply via email to