[PHP-DEV] [PATCH] LFS support for PHP 5.5.1

2013-08-30 Thread X Ryl
Hi, Please find attached a patch for adding large file size support to PHP 5.5.1. Basically, it allows 32 bits machine to address file larger than 4GB, get correct results when asking for their size, allows to read and write them, etc... It does so by, from the PHP's side, getting double instea

Re: [PHP-DEV] [PATCH] LFS support for PHP 5.5.1

2013-08-30 Thread X Ryl
On Fri, Aug 30, 2013 at 4:52 PM, Johannes Schlüter wrote: > > On Fri, 2013-08-30 at 16:43 +0200, X Ryl wrote: > > Hi, > > > > > > Please find attached a patch for adding large file size support to > > PHP 5.5.1. > > The patch didn't make

[PHP-DEV] [PATCH] Fix for 32 bits limit on file size (see bug 48886)

2009-12-22 Thread X Ryl
Hi, I'm not a C developer, so I can't really help with the attached patch. However, I've tried it with PHP 5.3.0 version I have and it does what it claims, that is, it gives correct behaviour for the following functions: filesize, fstat, stat when used on file > 4GB on a 32 bits machine. Currentl

Re: [PHP-DEV] 5.3.1 process

2009-09-22 Thread X Ryl
Hi, I would like to know if PHP 5.3.1 will fix the remanent big file (> 4GB) issue on 32bits system. There was 2 patch posted to fix this, the first one was in bug #48886 and another one is there: http://www.php.net/~wez/lfs.diff I don't know what is the expect

Re: [PHP-DEV] Functions that fails on large files

2009-09-13 Thread X Ryl
The patch in 27792 doesn't work, but the one in 48886 does (from my own tests) 2009/9/13 Laurent Léonard > Hi, > > What about that bug ? http://bugs.php.net/bug.php?id=27792 > > I see there is a patch here on this related bug report : > http://bugs.php.net/bug.php?id=48886 > > Do you plan to fi

[PHP-DEV] A fix for limited 32 bits supports

2009-09-11 Thread X Ryl
Hi, I was a bit disappointed to see that filesize, stat et al don't work on 32bits systems, because they are using 32 bits integer. I've found a patch written by Wes, but unfortunately it didn't worked. Well, now, I've found this: http://bugs.php.net/bug.php?id=48886 This is done right, it wo