aboutsummaryrefslogtreecommitdiffstats
path: root/goruby.c
Commit message (Collapse)AuthorAgeFilesLines
* Expand tabs [ci skip]Takashi Kokubun2022-07-211-16/+16
| | | | [Misc #18891]
* goruby.c: include golf_prelude.c to get rid of overwriting EXTOBJSNobuyoshi Nakada2021-07-031-1/+5
|
* goruby_options: do not goto into a branch卜部昌平2020-06-291-4/+2
| | | | | I'm not necessarily against every goto in general, but jumping into a branch is definitely a bad idea. Better refactor.
* goruby.c: FD leak [ci skip]nobu2017-03-091-1/+6
| | | | | | * goruby.c (goruby_options): fix potential FD leak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* goruby.c: call Init_golf [ci skip]nobu2016-08-231-1/+2
| | | | | | | * goruby.c (init_golf): call Init_golf, because ruby_init_ext only registers the function since r43514. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* goruby.c: suppress warningnobu2014-08-101-2/+4
| | | | | | | * goruby.c (goruby_options): check the result of `write(2)` to suppress unused-result warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * goruby.c (init_golf): append suffix.nobu2013-10-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* goruby.c: IRB at endnobu2012-12-231-1/+1
| | | | | | * goruby.c (goruby_options): start IRB after goruby initialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * goruby.c: windows support.nobu2011-12-211-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * goruby.c (goruby_options): auto irb.nobu2011-12-211-0/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stripped trailing spaces.nobu2009-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * main.c, goruby.c (RUBY_MAIN_INIT): removed.nobu2007-12-301-1/+22
| | | | | | | | * goruby.c (goruby_run_node): run after ruby_init_loadpath() so that require works, and protect the call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.nobu2007-12-251-0/+3
* trunk/main.c (main): hook for embedding applications. * trunk/tool/compile_prelude.rb: can change initialize function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e