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

ruby-changes:3398

From: ko1@a...
Date: 5 Jan 2008 13:04:42 +0900
Subject: [ruby-changes:3398] nobu - Ruby:r14891 (trunk): * ruby.c (proc_options): no need for intermediate object.

nobu	2008-01-05 13:04:26 +0900 (Sat, 05 Jan 2008)

  New Revision: 14891

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c

  Log:
    * ruby.c (proc_options): no need for intermediate object.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ruby.c?r1=14891&r2=14890&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14891&r2=14890&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14890)
+++ ChangeLog	(revision 14891)
@@ -1,3 +1,7 @@
+Sat Jan  5 13:04:24 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* ruby.c (proc_options): no need for intermediate object.
+
 Sat Jan  5 11:48:19 2008  Tanaka Akira  <akr@f...>
 
 	* encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
Index: ruby.c
===================================================================
--- ruby.c	(revision 14890)
+++ ruby.c	(revision 14891)
@@ -694,7 +694,7 @@
 
 	  case 'F':
 	    if (*++s) {
-		rb_fs = rb_reg_new_str(rb_str_new2(s), 0);
+		rb_fs = rb_reg_new(s, strlen(s), 0);
 	    }
 	    break;
 

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

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