mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 0e5fbec816
: [Backport #17603]
Fixed varargs in `rb_bug_without_die` [Bug #17603] --- error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This commit is contained in:
parent
03c50eb0db
commit
0c6361ff28
2 changed files with 3 additions and 3 deletions
4
error.c
4
error.c
|
@ -751,7 +751,7 @@ die(void)
|
|||
}
|
||||
|
||||
void
|
||||
rb_bug_without_die(const char *fmt, ...)
|
||||
rb_bug_without_die(const char *fmt, va_list args)
|
||||
{
|
||||
const char *file = NULL;
|
||||
int line = 0;
|
||||
|
@ -760,7 +760,7 @@ rb_bug_without_die(const char *fmt, ...)
|
|||
file = rb_source_location_cstr(&line);
|
||||
}
|
||||
|
||||
report_bug(file, line, fmt, NULL);
|
||||
report_bug_valist(file, line, fmt, NULL, args);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 37
|
||||
#define RUBY_PATCHLEVEL 38
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2021
|
||||
#define RUBY_RELEASE_MONTH 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue