mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
RUBY_SHOW_COPYRIGHT_TO_DIE: flip the default
Commit 7aab062ef3
says:
> ruby_show_version() will no longer exits the process, if
> RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in
> the future.
3.0 is a good timing for that "future".
This commit is contained in:
parent
756403d775
commit
1035a3b202
Notes:
git
2020-08-27 15:04:22 +09:00
1 changed files with 2 additions and 5 deletions
|
@ -63,12 +63,9 @@ DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_generic_ivar_table);
|
|||
NORETURN(ERRORFUNC(("internal function"), VALUE rb_mod_const_missing(VALUE, VALUE)));
|
||||
|
||||
/* from version.c */
|
||||
#ifndef RUBY_SHOW_COPYRIGHT_TO_DIE
|
||||
# define RUBY_SHOW_COPYRIGHT_TO_DIE 1
|
||||
#endif
|
||||
#if RUBY_SHOW_COPYRIGHT_TO_DIE
|
||||
#if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)
|
||||
/* for source code backward compatibility */
|
||||
DEPRECATED(static inline int ruby_show_copyright_to_die(int));
|
||||
RBIMPL_ATTR_DEPRECATED(("since 2.4"))
|
||||
static inline int
|
||||
ruby_show_copyright_to_die(int exitcode)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue