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

* process.c (proc_getgroups): use GIDT2NUM for rb_gid_t.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-06-26 07:39:04 +00:00
parent ab7c645fee
commit 883fadf9af
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jun 26 16:39:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (proc_getgroups): use GIDT2NUM for rb_gid_t.
Tue Jun 26 16:28:24 2007 Koichi Sasada <ko1@atdot.net>
* thread.c (rb_thread_wait_fd_rw): terminate fdset.

View file

@ -2674,7 +2674,7 @@ proc_getgroups(VALUE obj)
ary = rb_ary_new();
for (i = 0; i < ngroups; i++)
rb_ary_push(ary, INT2NUM(groups[i]));
rb_ary_push(ary, GIDT2NUM(groups[i]));
return ary;
#else