From: rj at roos dot ws
Operating system: linux 2.4.21
PHP version: 4.3.3
PHP Bug Type: Filesystem function related
Bug description: File functions don't work on files > 2GB
Description:
------------
When using stat() on files > 2GB, the size overflows the 32 bit int.
Reproduce code:
---------------
stat("Any file > 2GB")
Expected result:
----------------
return the filesize of the file > 2GB.
Actual result:
--------------
An error=75, value too large for the underlying data-structure and using
is_file the message: file does not exist.
--
Edit bug report at http://bugs.php.net/?id=25557&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25557&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25557&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25557&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25557&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25557&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25557&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25557&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25557&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25557&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25557&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25557&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25557&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25557&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25557&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25557&r=gnused