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 + + * ext/pathname/pathname.c (path_initialize): return a value. + Sun Jul 18 00:02:19 2010 Tanaka Akira * 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