[前][次][番号順一覧][スレッド一覧]

ruby-changes:17622

From: ko1 <ko1@a...>
Date: Sat, 30 Oct 2010 00:37:42 +0900 (JST)
Subject: [ruby-changes:17622] Ruby:r29630 (trunk): * iseq.c (iseq_s_compile): fix optional argument.

ko1	2010-10-30 00:36:33 +0900 (Sat, 30 Oct 2010)

  New Revision: 29630

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29630

  Log:
    * iseq.c (iseq_s_compile): fix optional argument.
      a patch from Yutaka HARA [ruby-core:32953] [Ruby 1.9-Bug#4001]

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29629)
+++ ChangeLog	(revision 29630)
@@ -1,3 +1,8 @@
+Sat Oct 30 00:35:13 2010  Koichi Sasada  <ko1@a...>
+
+	* iseq.c (iseq_s_compile): fix optional argument.
+	  a patch from Yutaka HARA [ruby-core:32953] [Ruby 1.9-Bug#4001]
+
 Sat Oct 30 00:24:42 2010  Koichi Sasada  <ko1@a...>
 
 	* ext/objspace/objspace.c (memsize_of): take care of
Index: iseq.c
===================================================================
--- iseq.c	(revision 29629)
+++ iseq.c	(revision 29630)
@@ -581,7 +581,7 @@
 
     rb_secure(1);
 
-    rb_scan_args(argc, argv, "13", &src, &file, &path, &line, &opt);
+    rb_scan_args(argc, argv, "14", &src, &file, &path, &line, &opt);
     if (NIL_P(file)) file = rb_str_new2("<compiled>");
     if (NIL_P(line)) line = INT2FIX(1);
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]