[前][次][番号順一覧][スレッド一覧]

ruby-changes:66832

From: Benoit <ko1@a...>
Date: Sun, 18 Jul 2021 20:41:35 +0900 (JST)
Subject: [ruby-changes:66832] 9b972310fa (master): [ruby/racc] Add missing check for rb_block_call()

https://git.ruby-lang.org/ruby.git/commit/?id=9b972310fa

From 9b972310fafc0126ff8c27bdc514808dacea8fcc Mon Sep 17 00:00:00 2001
From: Benoit Daloze <eregontp@g...>
Date: Tue, 6 Jul 2021 18:23:01 +0200
Subject: [ruby/racc] Add missing check for rb_block_call()

* It used to be hardcoded since 0affbf9d2c7c5c618b8d3fe191e74d9ae8ad22fc
  but got removed in 23abf3d3fb82afcc26d35769f0dec59dd46de4bb
* This means that since that second commit, rb_iterate() was used unintentionally.

https://github.com/ruby/racc/commit/8816ced525
---
 ext/racc/cparse/extconf.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/racc/cparse/extconf.rb b/ext/racc/cparse/extconf.rb
index 3b4f594..18c5689 100644
--- a/ext/racc/cparse/extconf.rb
+++ b/ext/racc/cparse/extconf.rb
@@ -3,6 +3,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/racc/cparse/extconf.rb#L3
 
 require 'mkmf'
 
+have_func('rb_block_call')
 have_func('rb_ary_subseq')
 
 create_makefile 'racc/cparse'
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]