ruby-changes:29807
From: knu <ko1@a...>
Date: Tue, 9 Jul 2013 18:05:55 +0900 (JST)
Subject: [ruby-changes:29807] knu:r41860 (trunk): * lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal even
knu 2013-07-09 18:03:36 +0900 (Tue, 09 Jul 2013) New Revision: 41860 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41860 Log: * lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal even if user and group are both nil, to be consistent with #chown and other commands. Modified files: trunk/ChangeLog trunk/lib/fileutils.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 41859) +++ ChangeLog (revision 41860) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jul 9 18:02:38 2013 Akinori MUSHA <knu@i...> + + * lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal even + if user and group are both nil, to be consistent with #chown and + other commands. + Tue Jul 9 17:58:26 2013 Akinori MUSHA <knu@i...> * test/fileutils/test_fileutils.rb Index: lib/fileutils.rb =================================================================== --- lib/fileutils.rb (revision 41859) +++ lib/fileutils.rb (revision 41860) @@ -1081,7 +1081,6 @@ module FileUtils https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L1081 return if options[:noop] uid = fu_get_uid(user) gid = fu_get_gid(group) - return unless uid or gid list.each do |root| Entry_.new(root).traverse do |ent| begin -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/