Well, it's not completely arbitrary. It's the size that was used
previous to php 5.2.10. See _php_stream_mmap_range() in
main/streams/mmap.c.

In my limited testing, it does solve the issue. Unfortunately, it also
has the side effect of re-introducing php bug #48309 for files over 4MB.

Maybe making it size_t - 1 would be better?

-- 
PHP5 under Apache2 on 64 bit system is not completely 64 bit 
https://bugs.launchpad.net/bugs/564920
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to