helly           Fri Mar 21 17:13:08 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/main/streams       mmap.c 
  Log:
  - MFH Increase max mmap size to 8 MB
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/mmap.c?r1=1.8.2.1.2.1.2.1&r2=1.8.2.1.2.1.2.2&diff_format=u
Index: php-src/main/streams/mmap.c
diff -u php-src/main/streams/mmap.c:1.8.2.1.2.1.2.1 
php-src/main/streams/mmap.c:1.8.2.1.2.1.2.2
--- php-src/main/streams/mmap.c:1.8.2.1.2.1.2.1 Mon Dec 31 07:17:17 2007
+++ php-src/main/streams/mmap.c Fri Mar 21 17:13:08 2008
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: mmap.c,v 1.8.2.1.2.1.2.1 2007/12/31 07:17:17 sebastian Exp $ */
+/* $Id: mmap.c,v 1.8.2.1.2.1.2.2 2008/03/21 17:13:08 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