summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-26 09:00:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-26 09:00:28 +0200
commitbce3a0a66764462a8b35df50977bd998eb904632 (patch)
tree4f6f0ab00d9427fc8a9a60cbbb9d8cdb42379666 /solenv
parentba97e26d417f6465b501502e02bcdd02eb209344 (diff)
Fragile concat-deps _process misinterprets ENOMEM from file_load
Change-Id: I0df494b74f23b0a30fe26e25f58b4827bd28ed47
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/concat-deps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 4a2230988a91..f2e7617732c9 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;