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

ruby-changes:44100

From: ngoto <ko1@a...>
Date: Fri, 16 Sep 2016 22:11:34 +0900 (JST)
Subject: [ruby-changes:44100] ngoto:r56173 (trunk): * ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): Fix compile error

ngoto	2016-09-16 22:11:28 +0900 (Fri, 16 Sep 2016)

  New Revision: 56173

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56173

  Log:
    * ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): Fix compile error
      with old version of fcc (Fujitsu C Compiler) on Solaris 10.
      [Bug #12769] [ruby-dev:49809]

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_ssl.c
Index: ext/openssl/ossl_ssl.c
===================================================================
--- ext/openssl/ossl_ssl.c	(revision 56172)
+++ ext/openssl/ossl_ssl.c	(revision 56173)
@@ -636,7 +636,11 @@ ssl_npn_select_cb_common(SSL *ssl, VALUE https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ssl.c#L636
 {
     VALUE selected;
     int status;
-    struct npn_select_cb_common_args args = { cb, in, inlen };
+    struct npn_select_cb_common_args args;
+
+    args.cb = cb;
+    args.in = in;
+    args.inlen = inlen;
 
     selected = rb_protect(npn_select_cb_common_i, (VALUE)&args, &status);
     if (status) {
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56172)
+++ ChangeLog	(revision 56173)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Sep 16 22:10:31 2016  Naohisa Goto  <ngotogenome@g...>
+
+	* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): Fix compile error
+	  with old version of fcc (Fujitsu C Compiler) on Solaris 10.
+	  [Bug #12769] [ruby-dev:49809]
+
 Fri Sep 16 21:28:25 2016  Naohisa Goto  <ngotogenome@g...>
 
 	* internal.h (MAYBE_UNUSED): The fallback definition is needed.

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

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