mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a70b33bac9
commit
795405fe3a
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Apr 12 19:11:21 2004 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
|
||||||
|
|
||||||
Mon Apr 12 18:45:58 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
Mon Apr 12 18:45:58 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return
|
* ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return
|
||||||
|
|
2
gc.c
2
gc.c
|
@ -1719,7 +1719,7 @@ rb_gc_copy_finalizer(dest, obj)
|
||||||
if (!finalizer_table) return;
|
if (!finalizer_table) return;
|
||||||
if (!FL_TEST(obj, FL_FINALIZE)) return;
|
if (!FL_TEST(obj, FL_FINALIZE)) return;
|
||||||
if (FL_TEST(dest, FL_FINALIZE)) {
|
if (FL_TEST(dest, FL_FINALIZE)) {
|
||||||
rb_warn("copy_finalizer: descarding old finalizers");
|
rb_warn("copy_finalizer: discarding old finalizers");
|
||||||
}
|
}
|
||||||
if (st_lookup(finalizer_table, obj, &table)) {
|
if (st_lookup(finalizer_table, obj, &table)) {
|
||||||
st_insert(finalizer_table, dest, table);
|
st_insert(finalizer_table, dest, table);
|
||||||
|
|
Loading…
Reference in a new issue