Skip to content

Commit fec18c0

Browse files
committed
merge revision(s) 22937:
* lib/fileutils.rb (FileUtils#fu_get_gid): stringify group argument before making regexp match. [ruby-dev:38155] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 5eef94c commit fec18c0

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Mon Jun 29 13:18:42 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* lib/fileutils.rb (FileUtils#fu_get_gid): stringify group
4+
argument before making regexp match. [ruby-dev:38155]
5+
16
Fri Jun 12 16:36:44 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
27

38
* ext/bigdecimal/bigdecimal.c (VpToString): fixed a bug introduced

lib/fileutils.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ def fu_get_uid(user) #:nodoc:
984984

985985
def fu_get_gid(group) #:nodoc:
986986
return nil unless group
987+
group = group.to_s
987988
if /\A\d+\z/ =~ group
988989
then group.to_i
989990
else Etc.getgrnam(group).gid

version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#define RUBY_VERSION "1.8.7"
2-
#define RUBY_RELEASE_DATE "2009-06-12"
2+
#define RUBY_RELEASE_DATE "2009-06-29"
33
#define RUBY_VERSION_CODE 187
4-
#define RUBY_RELEASE_CODE 20090612
5-
#define RUBY_PATCHLEVEL 174
4+
#define RUBY_RELEASE_CODE 20090629
5+
#define RUBY_PATCHLEVEL 175
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 7
1010
#define RUBY_RELEASE_YEAR 2009
1111
#define RUBY_RELEASE_MONTH 6
12-
#define RUBY_RELEASE_DAY 12
12+
#define RUBY_RELEASE_DAY 29
1313

1414
#ifdef RUBY_EXTERN
1515
RUBY_EXTERN const char ruby_version[];

0 commit comments

Comments
 (0)