1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/openssl/ossl_config.c (ossl_config_set_section): do not

initialize aggregations with dynamic values.  [ruby-talk:259306]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2007-08-15 21:41:24 +00:00
parent 1845b36b50
commit fc7922d334
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 16 06:40:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/openssl/ossl_config.c (ossl_config_set_section): do not
initialize aggregations with dynamic values. [ruby-talk:259306]
Thu Aug 16 06:39:19 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (get_backtrace): check the result more.

View file

@ -245,7 +245,10 @@ set_conf_section_i(VALUE i, VALUE *arg)
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;
}

View file

@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2007-08-16"
#define RUBY_VERSION_CODE 185
#define RUBY_RELEASE_CODE 20070816
#define RUBY_PATCHLEVEL 81
#define RUBY_PATCHLEVEL 82
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8