aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-18 07:02:39 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-18 07:02:39 +0000
commit2e4645ca166e3c3fab5f85159fd0b06e868a45fa (patch)
treeb99e7c037092cdda74964e9e5bb6e026036550a9
parent6074032ae6afea7dd2cd12b6333ae01bab2c3159 (diff)
downloadruby-2e4645ca166e3c3fab5f85159fd0b06e868a45fa.tar.gz
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/psych/extconf.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 437dad64dc..1a4db75563 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri May 18 15:53:05 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * ext/psych/extconf.rb: Use an exception instaed of bare abort.
+
Fri May 18 15:51:32 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb
index 11f44ac104..ccc8c9c304 100644
--- a/ext/psych/extconf.rb
+++ b/ext/psych/extconf.rb
@@ -5,7 +5,7 @@ require 'mkmf'
dir_config 'libyaml'
def asplode missing
- abort "#{missing} is missing. Please install libyaml."
+ raise "#{missing} is missing. Please install libyaml."
end
asplode('yaml.h') unless find_header 'yaml.h'