1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* merge -c 12071

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2007-03-16 11:53:15 +00:00
parent e27ef85f5c
commit 9da79c24a5
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Fri Mar 16 18:28:06 2007 Akinori MUSHA <knu@iDaemons.org>
* ext/etc/etc.c (etc_getgrgid): Fix a bug in Etc::getgrgid()
always returning the (real) group entry of the running process;
reported by: UEDA Hiroyuki <ueda AT netforest.ad.jp>
in [ruby-dev:30586].
Fri Mar 16 16:33:58 2007 Akinori MUSHA <knu@iDaemons.org>
* ext/thread/thread.c (unlock_mutex_inner): Make sure that the

View file

@ -337,7 +337,7 @@ etc_getgrgid(obj, id)
struct group *grp;
rb_secure(4);
gid = getgid();
gid = PW_VAL2GID(id);
grp = getgrgid(gid);
if (grp == 0) rb_raise(rb_eArgError, "can't find group for %d", gid);
return setup_group(grp);

View file

@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2007-03-16"
#define RUBY_VERSION_CODE 186
#define RUBY_RELEASE_CODE 20070316
#define RUBY_PATCHLEVEL 2
#define RUBY_PATCHLEVEL 3
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8