ID:               51133
 Updated by:       [email protected]
 Reported By:      sylvain at abstraction dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: linux
 PHP Version:      5.2.12
 New Comment:

This is effectively a bug requesting large file support on 32-bit
platforms, which makes it a duplicate of the previously closed bug
#38758, bug #40726, bug #43865, and probably others besides. The open
bug that deals with this is bug #27792, which includes a patch to
implement LFS.

Simply changing the function to take a float wouldn't solve the
problem, since the underlying file I/O APIs all use 32-bit integers as
well. This requires work both at the ext/standard and stream level.

It's also worth noting that this already works just fine on 64-bit
platforms.


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

[2010-02-24 14:56:32] sylvain at abstraction dot fr

It's the same thing for the fseek function for the offset argument.

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

[2010-02-24 12:36:24] sylvain at abstraction dot fr

Description:
------------
ftruncate function takes an int as size parameter which is problematic
when the wanted size is up to 2GB.

Could it be made float instead ?

Regards.



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


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

Reply via email to