Issue #6724 has been updated by nurzaga (angga prayoga).


zenspider (Ryan Davis) wrote:
> GIMME GIMME GIMME! waaaaaant... We don't _need_ a verifier. User responsibility... etc etc.
> 
> 
> Can I commit this??? PLEEEEEEASE???
> 
> Index: iseq.c
> ===================================================================
> --- iseq.c	(revision 36369)
> +++ iseq.c	(working copy)
> @@ -1585,9 +1585,7 @@
>      rb_define_method(rb_cISeq, "marshal_load", iseq_marshal_load, 1);
>  #endif
>  
> -    /* disable this feature because there is no verifier. */
> -    /* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */
> -    (void)iseq_s_load;
> +    rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);
>  
>      rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1);
>      rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1);

gamis-kaos.com
----------------------------------------
Feature #6724: waaaaaaant! (ISeq.load)
https://bugs.ruby-lang.org/issues/6724#change-28676

Author: zenspider (Ryan Davis)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: 
Target version: 


GIMME GIMME GIMME! waaaaaant... We don't _need_ a verifier. User responsibility... etc etc.


Can I commit this??? PLEEEEEEASE???

Index: iseq.c
===================================================================
--- iseq.c	(revision 36369)
+++ iseq.c	(working copy)
@@ -1585,9 +1585,7 @@
     rb_define_method(rb_cISeq, "marshal_load", iseq_marshal_load, 1);
 #endif
 
-    /* disable this feature because there is no verifier. */
-    /* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */
-    (void)iseq_s_load;
+    rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);
 
     rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1);
     rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1);



-- 
http://bugs.ruby-lang.org/