diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 07:27:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 07:27:22 +0000 |
commit | c2dcc9045ff3019ed90a37f8628fb8a4b0235e18 (patch) | |
tree | 4c3eddec025ca9be4434af4d1de4264caa0647cf /rational.c | |
parent | c240547e79fd6f5bb3a9496335a3876079c0b6be (diff) | |
download | ruby-c2dcc9045ff3019ed90a37f8628fb8a4b0235e18.tar.gz |
encoding.c: defer finding encoding
* encoding.c (enc_m_loader): defer finding encoding object not to
be infected by marshal source. [ruby-core:71793] [Bug #11760]
* marshal.c (r_object0): enable compatible loader on USERDEF
class. the loader function is called with the class itself,
instead of an allocated object, and the loaded data.
* marshal.c (compat_allocator_table): intialize
compat_allocator_tbl on demand.
* object.c (rb_undefined_alloc): extract from rb_obj_alloc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions