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

ruby-changes:14802

From: nobu <ko1@a...>
Date: Sun, 14 Feb 2010 12:55:04 +0900 (JST)
Subject: [ruby-changes:14802] Ruby:r26664 (trunk): * marshal.c (r_object0): removed duplicated entry for regexp.

nobu	2010-02-14 12:54:47 +0900 (Sun, 14 Feb 2010)

  New Revision: 26664

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

  Log:
    * marshal.c (r_object0): removed duplicated entry for regexp.
      [ruby-dev:40416]

  Modified files:
    trunk/ChangeLog
    trunk/marshal.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26663)
+++ ChangeLog	(revision 26664)
@@ -1,3 +1,8 @@
+Sun Feb 14 12:54:44 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* marshal.c (r_object0): removed duplicated entry for regexp.
+	  [ruby-dev:40416]
+
 Sun Feb 14 04:45:31 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* marshal.c (r_object0): register regexp object before encoding
Index: marshal.c
===================================================================
--- marshal.c	(revision 26663)
+++ marshal.c	(revision 26664)
@@ -1519,7 +1519,7 @@
 		}
 		rb_str_set_len(str, dst - ptr);
 	    }
-	    v = r_entry(rb_reg_init_str(v, str, options), arg);
+	    v = rb_reg_init_str(v, str, options);
 	    v = r_leave(v, arg);
 	}
 	break;

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

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