ruby-changes:58170
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Wed, 9 Oct 2019 12:19:10 +0900 (JST)
Subject: [ruby-changes:58170] 2f3b4029da (master): fix arity mismatch
https://git.ruby-lang.org/ruby.git/commit/?id=2f3b4029da From 2f3b4029da1b64ffb989916a8b74e17c366e45b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Mon, 7 Oct 2019 13:46:24 +0900 Subject: fix arity mismatch Seems nobody has actually used this macro. Such an obvious typo. diff --git a/internal.h b/internal.h index e653f30..6956427 100644 --- a/internal.h +++ b/internal.h @@ -1618,7 +1618,7 @@ void rb_copy_wb_protected_attribute(VALUE dest, VALUE obj); https://github.com/ruby/ruby/blob/trunk/internal.h#L1618 #if defined(HAVE_MALLOC_USABLE_SIZE) || defined(HAVE_MALLOC_SIZE) || defined(_WIN32) #define ruby_sized_xrealloc(ptr, new_size, old_size) ruby_xrealloc(ptr, new_size) -#define ruby_sized_xrealloc2(ptr, new_count, element_size, old_count) ruby_xrealloc(ptr, new_count, element_size) +#define ruby_sized_xrealloc2(ptr, new_count, element_size, old_count) ruby_xrealloc2(ptr, new_count, element_size) #define ruby_sized_xfree(ptr, size) ruby_xfree(ptr) #define SIZED_REALLOC_N(var,type,n,old_n) REALLOC_N(var, type, n) #else -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/