| Anonymous | Login | Signup for a new account | 11-03-2025 23:22 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 | ||||
| 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.1.4 | Product Version | 3.1.4 | ||||
| Product Build | |||||||||
| 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.  | 
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | 
		 | 
||||||||
| 
 | 
|||||||||
		 
		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.  |