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

ruby-changes:16352

From: eban <ko1@a...>
Date: Tue, 15 Jun 2010 17:16:54 +0900 (JST)
Subject: [ruby-changes:16352] Ruby:r28329 (trunk): * ext/fiddle/extconf.rb: De Morgan's laws.

eban	2010-06-15 17:16:33 +0900 (Tue, 15 Jun 2010)

  New Revision: 28329

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

  Log:
    * ext/fiddle/extconf.rb: De Morgan's laws.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28328)
+++ ChangeLog	(revision 28329)
@@ -1,3 +1,7 @@
+Tue Jun 15 17:14:58 2010  WATANABE Hirofumi  <eban@r...>
+
+	* ext/fiddle/extconf.rb: De Morgan's laws.
+
 Tue Jun 15 12:09:00 2010  WATANABE Hirofumi  <eban@r...>
 
 	* ext/fiddle/extconf.rb: use pkg_config to find ffi.h.
Index: ext/fiddle/extconf.rb
===================================================================
--- ext/fiddle/extconf.rb	(revision 28328)
+++ ext/fiddle/extconf.rb	(revision 28329)
@@ -4,7 +4,7 @@
 
 dir_config 'libffi'
 
-unless pkg_config("libffi") and have_header('ffi.h')
+unless pkg_config("libffi") or have_header('ffi.h')
   if have_header('ffi/ffi.h')
     $defs.push(format('-DUSE_HEADER_HACKS'))
   else

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

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