[Libreoffice-commits] core.git: solenv/bin

Stephan Bergmann sbergman at redhat.com
Mon May 26 00:00:53 PDT 2014


 solenv/bin/concat-deps.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bce3a0a66764462a8b35df50977bd998eb904632
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 26 09:00:05 2014 +0200

    Fragile concat-deps _process misinterprets ENOMEM from file_load
    
    Change-Id: I0df494b74f23b0a30fe26e25f58b4827bd28ed47

diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 4a22309..f2e7617 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -593,7 +593,7 @@ off_t       size = -1;
 }
 
 #if !ENABLE_RUNTIME_OPTIMIZATIONS
-static void * file_load_buffers[100];
+static void * file_load_buffers[100000];
 static size_t file_load_buffer_count = 0;
 #endif
 
@@ -620,7 +620,7 @@ int fd;
 #if !ENABLE_RUNTIME_OPTIMIZATIONS
             if (buffer != NULL)
             {
-                if (file_load_buffer_count == 100)
+                if (file_load_buffer_count == 100000)
                 {
                     free(buffer);
                     buffer = NULL;


More information about the Libreoffice-commits mailing list