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

ruby-changes:1701

From: ko1@a...
Date: 22 Aug 2007 10:58:49 +0900
Subject: [ruby-changes:1701] shyouhei - Ruby:r13192 (ruby_1_8_6): * ext/openssl/ossl_config.c (ossl_config_set_section): do not

shyouhei	2007-08-22 10:58:41 +0900 (Wed, 22 Aug 2007)

  New Revision: 13192

  Modified files:
    branches/ruby_1_8_6/ChangeLog
    branches/ruby_1_8_6/ext/openssl/ossl_config.c
    branches/ruby_1_8_6/version.h

  Log:
    * ext/openssl/ossl_config.c (ossl_config_set_section): do not
      initialize aggregations with dynamic values.  [ruby-talk:259306]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=13192&r2=13191
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=13192&r2=13191
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ext/openssl/ossl_config.c?r1=13192&r2=13191

Index: ruby_1_8_6/ext/openssl/ossl_config.c
===================================================================
--- ruby_1_8_6/ext/openssl/ossl_config.c	(revision 13191)
+++ ruby_1_8_6/ext/openssl/ossl_config.c	(revision 13192)
@@ -245,7 +245,10 @@
 static VALUE
 ossl_config_set_section(VALUE self, VALUE section, VALUE hash)
 {
-    VALUE arg[2] = { self, section };
+    VALUE arg[2];
+
+    arg[0] = self;
+    arg[1] = section;
     rb_iterate(rb_each, hash, set_conf_section_i, (VALUE)arg);
     return hash;
 }
Index: ruby_1_8_6/ChangeLog
===================================================================
--- ruby_1_8_6/ChangeLog	(revision 13191)
+++ ruby_1_8_6/ChangeLog	(revision 13192)
@@ -1,3 +1,8 @@
+Wed Aug 22 10:57:50 2007  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/openssl/ossl_config.c (ossl_config_set_section): do not
+	  initialize aggregations with dynamic values.  [ruby-talk:259306]
+
 Wed Aug 22 10:55:00 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* eval.c (get_backtrace): check the result more.
Index: ruby_1_8_6/version.h
===================================================================
--- ruby_1_8_6/version.h	(revision 13191)
+++ ruby_1_8_6/version.h	(revision 13192)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2007-08-22"
 #define RUBY_VERSION_CODE 186
 #define RUBY_RELEASE_CODE 20070822
-#define RUBY_PATCHLEVEL 72
+#define RUBY_PATCHLEVEL 73
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8

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

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