iliaa Wed Feb 23 17:41:05 2005 EDT Modified files: /php-src/main/streams mmap.c Log: Increase maximum mmapable file size to 2mb from 1mb. http://cvs.php.net/diff.php/php-src/main/streams/mmap.c?r1=1.5&r2=1.6&ty=u Index: php-src/main/streams/mmap.c diff -u php-src/main/streams/mmap.c:1.5 php-src/main/streams/mmap.c:1.6 --- php-src/main/streams/mmap.c:1.5 Wed Apr 21 08:02:47 2004 +++ php-src/main/streams/mmap.c Wed Feb 23 17:41:05 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mmap.c,v 1.5 2004/04/21 12:02:47 wez Exp $ */ +/* $Id: mmap.c,v 1.6 2005/02/23 22:41:05 iliaa Exp $ */ /* Memory Mapping interface for streams */ #include "php.h" @@ -33,7 +33,7 @@ /* For now, we impose an arbitrary 1MB limit to avoid * runaway swapping when large files are passed thru. */ - if (length > 1 * 1024 * 1024) { + if (length > 2 * 1024 * 1024) { return NULL; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php