summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-30 22:39:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-30 22:39:34 +0000
commit7f6018a42342111573f259fd6eb5e404a4b147cd (patch)
treec49f3385095fa52561a198b5eebf24c155514e39 /main.c
parentce4c111b5420be18be3c740f6a10435556ddb606 (diff)
downloadruby-7f6018a42342111573f259fd6eb5e404a4b147cd.tar.gz
ruby-7f6018a42342111573f259fd6eb5e404a4b147cd.tar.xz
ruby-7f6018a42342111573f259fd6eb5e404a4b147cd.zip
* main.c, goruby.c (RUBY_MAIN_INIT): removed.
* goruby.c (goruby_run_node): run after ruby_init_loadpath() so that require works, and protect the call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/main.c b/main.c
index 2cdb45f7b..e438b9c7b 100644
--- a/main.c
+++ b/main.c
@@ -33,9 +33,6 @@ main(int argc, char **argv, char **envp)
{
RUBY_INIT_STACK;
ruby_init();
-#ifdef RUBY_MAIN_INIT
- RUBY_MAIN_INIT();
-#endif
return ruby_run_node(ruby_options(argc, argv));
}
}