зеркало из https://github.com/github/ruby.git
* gc.c (gc_sweep): suppress a warning on VC, again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e1ef999dad
Коммит
408f0a92ef
|
@ -1,3 +1,7 @@
|
|||
Fri Jun 4 09:37:15 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* gc.c (gc_sweep): suppress a warning on VC, again.
|
||||
|
||||
Thu Jun 3 23:34:55 2010 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/lib/digest/hmac.rb: Emit a deprecation warning in
|
||||
|
|
2
gc.c
2
gc.c
|
@ -1939,7 +1939,7 @@ slot_sweep(rb_objspace_t *objspace, struct heaps_slot *sweep_slot)
|
|||
RVALUE *pp;
|
||||
|
||||
for (pp = deferred_final_list; pp != final; pp = pp->as.free.next) {
|
||||
RDATA(pp)->dmark = (void (*)())(VALUE)sweep_slot;
|
||||
RDATA(pp)->dmark = (void (*)(void *))(VALUE)sweep_slot;
|
||||
pp->as.free.flags |= FL_SINGLETON; /* freeing page mark */
|
||||
}
|
||||
sweep_slot->limit = final_num;
|
||||
|
|
Загрузка…
Ссылка в новой задаче