[php-maint] [Pkg-php-commits] [php/debian-sid] Import patch to don't mmap large >4GB files from Ubuntu

Ondřej Surý ondrej at debian.org
Sat Mar 19 10:37:03 UTC 2011


On Sat, Mar 19, 2011 at 02:35, Raphael Geissert <geissert at debian.org> wrote:
> On Friday 18 March 2011 02:38:09 Ondřej Surý wrote:
>> ++                                            if (data->sb.st_size > 4 * 1024 * 1024)
>> ++                                                    return PHP_STREAM_OPTION_RETURN_ERR;
>
> Erm, s/GB/MB/ then :)

You're right. Well, I just didn't think really hard about that and 4GB
made more sense than 4MB :).

> AFAICS, pending some sort of fix by upstream, the limit could be increased.

Feel free to fix it.

O.
-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/



More information about the pkg-php-maint mailing list