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

ruby-changes:73963

From: Nobuyoshi <ko1@a...>
Date: Wed, 12 Oct 2022 20:24:53 +0900 (JST)
Subject: [ruby-changes:73963] 66a650ec41 (master): [ruby/psych] Fix missing `abort` call

https://git.ruby-lang.org/ruby.git/commit/?id=66a650ec41

From 66a650ec41a583ec58003737b23b42ec8f069920 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 12 Oct 2022 20:17:46 +0900
Subject: [ruby/psych] Fix missing `abort` call

https://github.com/ruby/psych/commit/de2b98c7b7

Co-authored-by: Olle Jonsson <olle.jonsson@g...>
---
 ext/psych/extconf.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb
index afae08603d..41daf8c238 100644
--- a/ext/psych/extconf.rb
+++ b/ext/psych/extconf.rb
@@ -40,7 +40,7 @@ else # default to pre-installed libyaml https://github.com/ruby/ruby/blob/trunk/ext/psych/extconf.rb#L40
   pkg_config('yaml-0.1')
   dir_config('libyaml')
   find_header('yaml.h') or abort "yaml.h not found"
-  find_library('yaml', 'yaml_get_version') or "libyaml not found"
+  find_library('yaml', 'yaml_get_version') or abort "libyaml not found"
 end
 
 create_makefile 'psych' do |mk|
-- 
cgit v1.2.1


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

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