зеркало из https://github.com/github/ruby.git
* 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:
Родитель
ab7c645fee
Коммит
883fadf9af
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче