ruby-changes:16897
From: akr <ko1@a...>
Date: Sat, 7 Aug 2010 09:33:31 +0900 (JST)
Subject: [ruby-changes:16897] Ruby:r28893 (trunk): * ext/pathname/pathname.c (Init_pathname): fix number of arguments for
akr 2010-08-07 09:32:20 +0900 (Sat, 07 Aug 2010) New Revision: 28893 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28893 Log: * ext/pathname/pathname.c (Init_pathname): fix number of arguments for Pathname#chown. Modified files: trunk/ChangeLog trunk/ext/pathname/pathname.c Index: ChangeLog =================================================================== --- ChangeLog (revision 28892) +++ ChangeLog (revision 28893) @@ -1,3 +1,8 @@ +Sat Aug 7 09:31:48 2010 Tanaka Akira <akr@f...> + + * ext/pathname/pathname.c (Init_pathname): fix number of arguments for + Pathname#chown. + Sat Aug 7 09:28:12 2010 Tanaka Akira <akr@f...> * test/ruby/envutil.rb (assert_normal_exit): use assert. fix Index: ext/pathname/pathname.c =================================================================== --- ext/pathname/pathname.c (revision 28892) +++ ext/pathname/pathname.c (revision 28893) @@ -491,5 +491,5 @@ 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); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/