From 7d13970e959b127b6bdc3be7fbda2880234127f4 Mon Sep 17 00:00:00 2001 From: Ilmir Usmanov Date: Mon, 27 Oct 2014 15:27:25 +0400 Subject: [PATCH] Fix compiling several input files --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3d7b49e00..68c104169 100644 --- a/src/main.c +++ b/src/main.c @@ -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);