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/trunk@12821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2c2adf8dc3
commit
98a54d46f7
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 20 15:22:51 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]
|
||||
|
||||
Fri Jul 20 10:39:28 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummy
|
||||
|
|
|
@ -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_block_call(hash, rb_intern("each"), 0, 0, set_conf_section_i, (VALUE)arg);
|
||||
return hash;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue