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

ruby-changes:23638

From: kosaki <ko1@a...>
Date: Fri, 18 May 2012 16:06:23 +0900 (JST)
Subject: [ruby-changes:23638] kosaki:r35690 (trunk): * ext/psych/extconf.rb: Use an exception instaed of bare abort.

kosaki	2012-05-18 16:02:39 +0900 (Fri, 18 May 2012)

  New Revision: 35690

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35690

  Log:
    * ext/psych/extconf.rb: Use an exception instaed of bare abort.

  Modified files:
    trunk/ChangeLog
    trunk/ext/psych/extconf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35689)
+++ ChangeLog	(revision 35690)
@@ -1,3 +1,7 @@
+Fri May 18 15:53:05 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* ext/psych/extconf.rb: Use an exception instaed of bare abort.
+
 Fri May 18 15:51:32 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
Index: ext/psych/extconf.rb
===================================================================
--- ext/psych/extconf.rb	(revision 35689)
+++ ext/psych/extconf.rb	(revision 35690)
@@ -5,7 +5,7 @@
 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'

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

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