summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-07 00:32:20 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-07 00:32:20 +0000
commitd1893fe74d24109634cce58a02c7349dfd5f4551 (patch)
treed640d82c9f0d810145fa78e461cb2a46b19ec2df
parent6bc65b35bdf8611837a81dd381eb8c7b61442fc6 (diff)
* 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--ChangeLog5
-rw-r--r--ext/pathname/pathname.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b361c4..7b49782 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 a32c1fd..d62cbdd 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);
}