ID:               27792
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kode at kodekrash dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         *Directory/Filesystem functions
 Operating System: RedHat 7.3 (GNU/Linux 2.4.x)
 PHP Version:      4.3.4
-Assigned To:      
+Assigned To:      wez
 New Comment:

PHP does not currently support LFS.

This is something to be addressed in PHP 5.1


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

[2004-03-31 03:27:56] kode at kodekrash dot com

Description:
------------
Error:

 (errno=75 - Value too large for defined data type)



Functions:

 is_file

 is_dir

 filesize



Premise:

 size of file is greater than 2GB.



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



I have been able to reproduce this error on 4 different PHP
installations (all on RedHat 7.3 machines), using 12 different files
for each test.



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



This bug has been submitted before, but is marked as BOGUS, which it is
certainly not.

Reproduce code:
---------------
filesize( $fname );

or

is_file( $fname )

or

is_dir( $fname )



where filesize( $fname ) > 2GB

Expected result:
----------------
Function: filesize

Expected: numeric value matching size of file



Function: is_file

Expected: boolean value



Function: is_dir

Expected: boolean value

Actual result:
--------------
(errno=75 - Value too large for defined data type)


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


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

Reply via email to