1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* iseq.c: disable ISeq.load. It enabled accidentally at r51794.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-09-11 15:50:42 +00:00
parent 782e2148af
commit 22ea03bb7e
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Sep 11 17:49:36 2015 Koichi Sasada <ko1@atdot.net>
* iseq.c: disable ISeq.load. It enabled accidentally at r51794.
Fri Sep 11 11:15:12 2015 Shugo Maeda <shugo@ruby-lang.org> Fri Sep 11 11:15:12 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (size, mdtm, system): parse responses according to * lib/net/ftp.rb (size, mdtm, system): parse responses according to

2
iseq.c
View file

@ -2320,9 +2320,9 @@ Init_ISeq(void)
#if 0 /* TBD */ #if 0 /* TBD */
rb_define_private_method(rb_cISeq, "marshal_dump", iseqw_marshal_dump, 0); rb_define_private_method(rb_cISeq, "marshal_dump", iseqw_marshal_dump, 0);
rb_define_private_method(rb_cISeq, "marshal_load", iseqw_marshal_load, 1); rb_define_private_method(rb_cISeq, "marshal_load", iseqw_marshal_load, 1);
#endif
/* disable this feature because there is no verifier. */ /* disable this feature because there is no verifier. */
rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);
#endif
(void)iseq_s_load; (void)iseq_s_load;
rb_define_singleton_method(rb_cISeq, "compile", iseqw_s_compile, -1); rb_define_singleton_method(rb_cISeq, "compile", iseqw_s_compile, -1);