Kaydet (Commit) bce3a0a6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fragile concat-deps _process misinterprets ENOMEM from file_load

Change-Id: I0df494b74f23b0a30fe26e25f58b4827bd28ed47
üst ba97e26d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment