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

ruby-changes:16676

From: akr <ko1@a...>
Date: Sun, 18 Jul 2010 01:10:39 +0900 (JST)
Subject: [ruby-changes:16676] Ruby:r28672 (trunk): * ext/pathname/pathname.c (path_initialize): return a value.

akr	2010-07-18 01:10:19 +0900 (Sun, 18 Jul 2010)

  New Revision: 28672

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

  Log:
    * ext/pathname/pathname.c (path_initialize): return a value.

  Modified files:
    trunk/ChangeLog
    trunk/ext/pathname/pathname.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28671)
+++ ChangeLog	(revision 28672)
@@ -1,3 +1,7 @@
+Sun Jul 18 01:09:27 2010  Tanaka Akira  <akr@f...>
+
+	* ext/pathname/pathname.c (path_initialize): return a value.
+
 Sun Jul 18 00:02:19 2010  Tanaka Akira  <akr@f...>
 
 	* ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
Index: ext/pathname/pathname.c
===================================================================
--- ext/pathname/pathname.c	(revision 28671)
+++ ext/pathname/pathname.c	(revision 28672)
@@ -33,6 +33,7 @@
 
     set_strpath(self, str);
     OBJ_INFECT(self, str);
+    return self;
 }
 
 void

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

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