[ruby-cvs:71357] mrkn:r64265 (trunk): process.c: fix rubyspec of Process.groups

mrkn at ruby-lang.org mrkn at ruby-lang.org
Fri Aug 10 14:18:03 JST 2018


mrkn	2018-08-10 14:18:03 +0900 (Fri, 10 Aug 2018)

  New Revision: 64265

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64265

  Log:
    process.c: fix rubyspec of Process.groups
    
    getgroups(2) may return a GID list that includes duplicated GIDs.
    The behavior is totaly depends on what OS is used.
    
    This commit fixes the example of Process.groups so that the example
    is independent of this OS-dependent features.
    
    Additonaly, this commit adds the description of such system-dependent
    characteristics of Process.groups.
    
    [ruby-dev:50603] [Bug #14969]

  Modified files:
    trunk/process.c
    trunk/spec/ruby/core/process/groups_spec.rb


More information about the ruby-cvs mailing list