helly           Fri Mar 21 17:12:38 2008 UTC

  Modified files:              
    /php-src/main/streams       mmap.c 
  Log:
  - Increase max mmap size to 8 MB
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/mmap.c?r1=1.11&r2=1.12&diff_format=u
Index: php-src/main/streams/mmap.c
diff -u php-src/main/streams/mmap.c:1.11 php-src/main/streams/mmap.c:1.12
--- php-src/main/streams/mmap.c:1.11    Mon Dec 31 07:12:18 2007
+++ php-src/main/streams/mmap.c Fri Mar 21 17:12:38 2008
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: mmap.c,v 1.11 2007/12/31 07:12:18 sebastian Exp $ */
+/* $Id: mmap.c,v 1.12 2008/03/21 17:12:38 helly Exp $ */
 
 /* Memory Mapping interface for streams */
 #include "php.h"
@@ -33,7 +33,7 @@
 
        /* For now, we impose an arbitrary 2MB limit to avoid
         * runaway swapping when large files are passed thru. */
-       if (length > 2 * 1024 * 1024) {
+       if (length > 8 * 1024 * 1024) {
                return NULL;
        }
        



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to