Anonymous | Login | Signup for a new account | 12-17-2024 14:40 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001504 | [Quercus] | feature | always | 12-10-06 08:47 | 01-04-07 14:34 | ||||
Reporter | at4u | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | GNU/Linux | ||||
Status | closed | OS | Gentoo Linux | ||||||
Projection | none | OS Version | N/A | ||||||
ETA | none | Fixed in Version | 3.1.1 | Product Version | 3.0.22 | ||||
Product Build | |||||||||
Summary | 0001504: flock isn't available | ||||||||
Description |
Hi, while testing Resin 3.0.22 / Quercus I found out that flock seems to be not implemented or not returning TRUE on success. Script: <?php $f_fp = fopen ("test.xml","r"); $f_counter = 3; if ($f_fp) { do { if (flock ($f_fp,LOCK_SH)) { $f_counter = -1; } else { $f_counter--; sleep (1); } } while ($f_counter > 0); if ($f_counter > -1) { echo "LOCK_SH failed"; } else { echo "LOCK_SH successfully"; } fclose ($f_fp); } ?> This script will always result in "LOCK_SH failed". It returns "LOCK_SH successfully" while being executed by a Apache/PHP combination. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | ferg set bug 0000634 to the status "closed". If this means that flock is implemented, than something doesn't work as expected. | ||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 26 unique queries executed. |