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

ruby-changes:29475

From: charliesome <ko1@a...>
Date: Fri, 21 Jun 2013 16:39:26 +0900 (JST)
Subject: [ruby-changes:29475] charliesome:r41527 (trunk): * ext/openssl/ossl_x509attr.c: change OSSL_X509ATTR_IS_SINGLE and

charliesome	2013-06-21 16:39:15 +0900 (Fri, 21 Jun 2013)

  New Revision: 41527

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

  Log:
    * ext/openssl/ossl_x509attr.c: change OSSL_X509ATTR_IS_SINGLE and
      OSSL_X509ATTR_SET_SINGLE macros to use ->value.set rather than
      ->set to fix compile failure

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_x509attr.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41526)
+++ ChangeLog	(revision 41527)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jun 21 16:38:00 2013  Charlie Somerville  <charliesome@r...>
+
+	* ext/openssl/ossl_x509attr.c: change OSSL_X509ATTR_IS_SINGLE and
+	  OSSL_X509ATTR_SET_SINGLE macros to use ->value.set rather than
+	  ->set to fix compile failure
+
 Fri Jun 21 15:26:45 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c (gc_sweep): profile sweep time correctly when LAZY_SWEEP is
Index: ext/openssl/ossl_x509attr.c
===================================================================
--- ext/openssl/ossl_x509attr.c	(revision 41526)
+++ ext/openssl/ossl_x509attr.c	(revision 41527)
@@ -165,8 +165,8 @@ ossl_x509attr_get_oid(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_x509attr.c#L165
 #  define OSSL_X509ATTR_IS_SINGLE(attr)  ((attr)->single)
 #  define OSSL_X509ATTR_SET_SINGLE(attr) ((attr)->single = 1)
 #else
-#  define OSSL_X509ATTR_IS_SINGLE(attr)  (!(attr)->set)
-#  define OSSL_X509ATTR_SET_SINGLE(attr) ((attr)->set = 0)
+#  define OSSL_X509ATTR_IS_SINGLE(attr)  (!(attr)->value.set)
+#  define OSSL_X509ATTR_SET_SINGLE(attr) ((attr)->value.set = 0)
 #endif
 
 /*

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

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