diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-11 13:56:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-11 13:56:18 +0200 |
commit | 99685e6a7e586acbf3383977ce6d029583b68ded (patch) | |
tree | b9761d857569fe00f8bc33a2a43282cbdc1a4f32 /src/main.c | |
parent | 6800186a03855c1a1c51fb6abb793306851db2ad (diff) | |
download | vim-git-99685e6a7e586acbf3383977ce6d029583b68ded.tar.gz |
updated for version 7.3.933v7.3.933
Problem: Ruby on Mac crashes due to GC failure.
Solution: Init the stack from main(). (Hiroshi Shirosaki)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index cba8dce75..b524c7eda 100644 --- a/src/main.c +++ b/src/main.c @@ -192,6 +192,13 @@ main params.window_count = -1; #endif +#ifdef FEAT_RUBY + { + int ruby_stack_start; + vim_ruby_init((void *)&ruby_stack_start); + } +#endif + #ifdef FEAT_TCL vim_tcl_init(params.argv[0]); #endif |