diff --git a/ChangeLog b/ChangeLog index 4b361c4f0d..7b497826ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 7 09:31:48 2010 Tanaka Akira + + * ext/pathname/pathname.c (Init_pathname): fix number of arguments for + Pathname#chown. + Sat Aug 7 09:28:12 2010 Tanaka Akira * 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); }