#25557 [Opn->Bgs]: File functions don't work on files > 2GB
| From: | sniper@php.net | Date: | Tue, 16 Sep 2003 13:51:40 +0000 |
| Subject: | #25557 [Opn->Bgs]: File functions don't work on files > 2GB | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47633@lists.php.net to get a copy of this message | ||
ID: 25557
Updated by: sniper@php.net
Reported By: rj at roos dot ws
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: linux 2.4.21
PHP Version: 4.3.3
New Comment:
Really? Not bug.
Previous Comments:
------------------------------------------------------------------------
[2003-09-16 09:49:52] rj at roos dot ws
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 this bug report at http://bugs.php.net/?id=25557&edit=1