diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-07 00:32:20 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-07 00:32:20 +0000 |
commit | d1893fe74d24109634cce58a02c7349dfd5f4551 (patch) | |
tree | d640d82c9f0d810145fa78e461cb2a46b19ec2df | |
parent | 6bc65b35bdf8611837a81dd381eb8c7b61442fc6 (diff) | |
download | ruby-d1893fe74d24109634cce58a02c7349dfd5f4551.tar.gz |
* ext/pathname/pathname.c (Init_pathname): fix number of arguments for
Pathname#chown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/pathname/pathname.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Aug 7 09:31:48 2010 Tanaka Akira <akr@fsij.org> + + * ext/pathname/pathname.c (Init_pathname): fix number of arguments for + Pathname#chown. + Sat Aug 7 09:28:12 2010 Tanaka Akira <akr@fsij.org> * test/ruby/envutil.rb (assert_normal_exit): use assert. fix diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index a32c1fdeca..d62cbdd83e 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -491,5 +491,5 @@ Init_pathname() rb_define_method(rb_cPathname, "mtime", path_mtime, 0); rb_define_method(rb_cPathname, "chmod", path_chmod, 1); rb_define_method(rb_cPathname, "lchmod", path_lchmod, 1); - rb_define_method(rb_cPathname, "chown", path_chown, 1); + rb_define_method(rb_cPathname, "chown", path_chown, 2); } |