diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-26 07:39:04 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-26 07:39:04 +0000 |
| commit | 15fdc4a0ac0318de0eb913c64f3c2dfec5fbd443 (patch) | |
| tree | f1756c5688448b4119326f95ee02128aa0302ddb | |
| parent | 1f4274bda2c5607a8a520c8d5a125d2926891f54 (diff) | |
| download | ruby-15fdc4a0ac0318de0eb913c64f3c2dfec5fbd443.tar.gz ruby-15fdc4a0ac0318de0eb913c64f3c2dfec5fbd443.tar.xz ruby-15fdc4a0ac0318de0eb913c64f3c2dfec5fbd443.zip | |
* process.c (proc_getgroups): use GIDT2NUM for rb_gid_t.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | process.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 |
