mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
protect temporary context object. [ruby-dev:27979] * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should be called before actual variable initialization. [ruby-dev:27986] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ca94a0307
commit
4d467a0865
15 changed files with 73 additions and 88 deletions
4
compar.c
4
compar.c
|
@ -53,7 +53,7 @@ cmp_eq(VALUE *a)
|
|||
{
|
||||
VALUE c = rb_funcall(a[0], cmp, 1, a[1]);
|
||||
|
||||
if (NIL_P(c)) return Qnil;
|
||||
if (NIL_P(c)) return Qfalse;
|
||||
if (rb_cmpint(c, a[0], a[1]) == 0) return Qtrue;
|
||||
return Qfalse;
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ cmp_eq(VALUE *a)
|
|||
static VALUE
|
||||
cmp_failed(void)
|
||||
{
|
||||
return Qnil;
|
||||
return Qfalse;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue