aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-17 16:10:19 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-17 16:10:19 +0000
commit17749e51681383304984f310a14a2939e554b593 (patch)
treea7c91661c73e68a1352112f3a485eaa9d56399e2
parentfffb949e47a94bb84882c7388fca158f228984d4 (diff)
downloadruby-17749e51681383304984f310a14a2939e554b593.tar.gz
* ext/pathname/pathname.c (path_initialize): return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/pathname/pathname.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 76c508b1a9..edcb38b75a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jul 18 01:09:27 2010 Tanaka Akira <akr@fsij.org>
+
+ * ext/pathname/pathname.c (path_initialize): return a value.
+
Sun Jul 18 00:02:19 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index b91cd470ad..d9917058da 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -33,6 +33,7 @@ path_initialize(VALUE self, VALUE arg)
set_strpath(self, str);
OBJ_INFECT(self, str);
+ return self;
}
void