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 /ext | |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pathname/pathname.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |