summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-01-02 16:21:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-01-02 16:58:42 +0900
commit879e27d0f171d4ab652099b47a9a626e3a2508c3 (patch)
treeba855085ca47435662512d8136b3d3420efc0f0d
parentbd462c5edc170c0e730a154a99cc48e1a6b8e259 (diff)
downloadmruby-879e27d0f171d4ab652099b47a9a626e3a2508c3.tar.gz
mruby-879e27d0f171d4ab652099b47a9a626e3a2508c3.zip
mirb: enlarge code buffer size to 4KB
-rw-r--r--mrbgems/mruby-bin-mirb/tools/mirb/mirb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
index bdba2d2eb..c8975599f 100644
--- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
+++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
@@ -359,7 +359,7 @@ ctrl_c_handler(int signo)
int
main(int argc, char **argv)
{
- char ruby_code[1024] = { 0 };
+ char ruby_code[4096] = { 0 };
char last_code_line[1024] = { 0 };
#ifndef ENABLE_READLINE
int last_char;