diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-07 02:34:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-07 02:34:33 +0000 |
commit | 7aab062ef3772c7e8e50fc872a1647918c76dbba (patch) | |
tree | 3bfaf1207aef12c325d9dd7a21ae9fe9a7788c06 /ruby.c | |
parent | 1491c4189a67a1a2ca0347e243190375dd4e002c (diff) |
version.c: no exit in ruby_show_copyright
* include/ruby/backward.h (ruby_show_copyright_to_die): for source
code backward compatibility.
* ruby.c (process_options): return Qtrue to exit the process
successfully.
* version.c (ruby_show_copyright): no longer exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1414,6 +1414,7 @@ process_options(int argc, char **argv, struct cmdline_options *opt) } if (opt->dump & DUMP_BIT(copyright)) { ruby_show_copyright(); + return Qtrue; } if (!opt->e_script) { |