Mantis Bugtracker
  

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

- Relationships

- 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
 

- Issue History
Date Modified Username Field Change
10-12-07 15:24 mo New Issue
10-12-07 15:24 mo File Added: 161t.qa
10-12-07 15:25 mo Status new => assigned
10-12-07 15:25 mo Assigned To  => mo
10-15-07 12:51 mo Note Added: 0002344
10-15-07 12:52 mo Note Added: 0002345
10-15-07 12:53 mo Status assigned => closed
10-15-07 12:53 mo Resolution open => fixed
10-15-07 12:53 mo Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker