[#20392] [BigDecimal] proposal to change specification — "Tadashi Saito" <shiba@...2.accsnet.ne.jp>

斎藤と申します。

25 messages 2003/06/20
[#20407] Re: [BigDecimal] proposal to change specification — "Shigeo Kobayashi" <shigeo@...> 2003/06/22

小林です。

[#20447] [BigDecimal] renaming proposal — "Tadashi Saito" <shiba@...2.accsnet.ne.jp>

斎藤です。

47 messages 2003/06/24
[#20621] Re: [BigDecimal] renaming proposal — "Shigeo Kobayashi" <shigeo@...> 2003/07/11

小林@MAILチェック中です。

[#20628] Re: [BigDecimal] renaming proposal — "Shigeo Kobayashi" <shigeo@...> 2003/07/11

小林です。

[ruby-dev:20466] Ruby OpenSSL and MS_CALLBACK cpp(1) macro.

From: Takahiro Kambe <taca@...>
Date: 2003-06-26 17:08:46 UTC
List: ruby-dev #20466
こんばんは。

ruby-opensslという名前でNetBSDのpkgsrcになっているOSSLが、NetBSD 1.6.1
 ではだいじょうぶですが、NetBSD currentでは壊れていることに気づきまし
 た。

       http://www.freesoftware.fsf.org/rubypki/

これは、OpenSSLのヘッダのうちe_os.hは、/usr/include/opensslにNetBSD
currentではインストールされなくなったためです。理由はOpenSSLのinternal 
なヘッダで、OpenSSL以外のプログラムは参照するものではないから、という
ことらしいです。

OSSL 0.1.3までは、e_os.hで(UNIX系では空に)定義されているMS_CALLBACKと
いうcpp(1)のマクロがソースコードに使用されいるため、単にe_os.hのインク
ルードを止めるだけでは済みませんでした。乱暴ですが、


--- ossl.h.orig	2002-07-23 19:45:25.000000000 +0900
+++ ossl.h
@@ -25,9 +25,11 @@ extern "C" {
 #include <openssl/ssl.h>
 #include <openssl/hmac.h>
 #include <openssl/rand.h>
-#include <openssl/e_os.h>
 #if defined(NT)
+#  include <openssl/e_os.h>
 #  undef OpenFile
+#else
+#  define MS_CALLBACK
 #endif
 
 #include "openssl_missing.h"


なんてことをすると回避できます。

一方、上記のURLにある 0.2.0-pre2あたりでは、MS_CALLBACKのマクロも使っ
ていませんし、e_os.hも使用していないようにソースコードが変更されている
ようです。

0.1.3の方は、同様な修正がされたリリースがされることは、もうないのでしょ
うか?

-- 
神戸 隆博 / Takahiro Kambe


In This Thread

Prev Next