ruby-changes:11578
From: yugui <ko1@a...>
Date: Sun, 19 Apr 2009 22:33:48 +0900 (JST)
Subject: [ruby-changes:11578] Ruby:r23215 (ruby_1_9_1): merges r22940 from trunk into ruby_1_9_1.
yugui 2009-04-19 22:33:01 +0900 (Sun, 19 Apr 2009) New Revision: 23215 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23215 Log: merges r22940 from trunk into ruby_1_9_1. -- * lib/fileutils.rb (FileUtils#fu_get_gid): stringify group argument before making regexp match. [ruby-dev:38155] Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/lib/fileutils.rb Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 23214) +++ ruby_1_9_1/ChangeLog (revision 23215) @@ -1,3 +1,8 @@ +Fri Mar 13 09:17:12 2009 Yukihiro Matsumoto <matz@r...> + + * lib/fileutils.rb (FileUtils#fu_get_gid): stringify group + argument before making regexp match. [ruby-dev:38155] + Fri Mar 13 15:10:43 2009 Nobuyoshi Nakada <nobu@r...> * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should use Index: ruby_1_9_1/lib/fileutils.rb =================================================================== --- ruby_1_9_1/lib/fileutils.rb (revision 23214) +++ ruby_1_9_1/lib/fileutils.rb (revision 23215) @@ -987,6 +987,7 @@ def fu_get_gid(group) #:nodoc: return nil unless group + group = group.to_s if /\A\d+\z/ =~ group then group.to_i else Etc.getgrnam(group).gid -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/