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

ruby-changes:23639

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

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

  New Revision: 35689

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

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

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35688)
+++ ChangeLog	(revision 35689)
@@ -1,3 +1,7 @@
+Fri May 18 15:51:32 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
+
 Fri May 18 15:49:35 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* ext/readline/extconf.rb: Use an exception instead of bare exit.
Index: ext/fiddle/extconf.rb
===================================================================
--- ext/fiddle/extconf.rb	(revision 35688)
+++ ext/fiddle/extconf.rb	(revision 35689)
@@ -9,12 +9,12 @@
   if have_header('ffi/ffi.h')
     $defs.push(format('-DUSE_HEADER_HACKS'))
   else
-    abort "ffi.h is missing. Please install libffi."
+    raise "ffi.h is missing. Please install libffi."
   end
 end
 
 unless have_library('ffi') || have_library('libffi')
-  abort "libffi is missing. Please install libffi."
+  raise "libffi is missing. Please install libffi."
 end
 
 have_header 'sys/mman.h'

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

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