Anonymous | Login | Signup for a new account | 12-17-2024 08:25 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002066 | [Quercus] | major | always | 10-12-07 15:24 | 10-15-07 12:53 | ||||
Reporter | mo | View Status | public | ||||||
Assigned To | mo | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.4 | ||||||
Summary | 0002066: PHP fseek and ftell functions return incorrect values | ||||||||
Description |
fseek and ftell as described in the PHP manual: http://us2.php.net/manual/en/function.fseek.php [^] http://us2.php.net/manual/en/function.ftell.php [^] Both of these methods return incorrect results in the quercus implementation. For example, the fseek method should return 0 on success or -1 on failure, but in quercus it returns the new file offset. The attached QA test checks for these problems. The following QA regression test checks for these cases. |
||||||||
Additional Information | |||||||||
Attached Files | 161t.qa [^] (1,446 bytes) 10-12-07 15:24 | ||||||||
|
Notes | |
(0002344) mo 10-15-07 12:51 |
Patched FileModule.java so that fseek and ftell return the correct values (rev 3238). |
(0002345) mo 10-15-07 12:52 |
Test case is php/161s.qa |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 26 unique queries executed. |