Fix compiling several input files

This commit is contained in:
Ilmir Usmanov
2014-10-27 15:27:25 +04:00
parent a55517f57a
commit 7d13970e95
+1 -1
View File
@@ -115,7 +115,7 @@ read_sources (const char *script_file_names[],
jerry_exit (ERR_OUT_OF_MEMORY);
}
size_t bytes_read = __fread (source_buffer, 1, current_source_size, file);
size_t bytes_read = __fread (source_buffer_tail, 1, current_source_size, file);
if (bytes_read < current_source_size)
{
jerry_exit (ERR_IO);