diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-01-02 16:21:48 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-01-02 16:58:42 +0900 |
| commit | 879e27d0f171d4ab652099b47a9a626e3a2508c3 (patch) | |
| tree | ba855085ca47435662512d8136b3d3420efc0f0d | |
| parent | bd462c5edc170c0e730a154a99cc48e1a6b8e259 (diff) | |
| download | mruby-879e27d0f171d4ab652099b47a9a626e3a2508c3.tar.gz mruby-879e27d0f171d4ab652099b47a9a626e3a2508c3.zip | |
mirb: enlarge code buffer size to 4KB
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 2 |
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; |
