ruby-changes:52827
From: stomar <ko1@a...>
Date: Sat, 13 Oct 2018 05:01:56 +0900 (JST)
Subject: [ruby-changes:52827] stomar:r65039 (trunk): process.c: [DOC] improve docs for Process.groups
stomar 2018-10-13 05:01:52 +0900 (Sat, 13 Oct 2018) New Revision: 65039 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65039 Log: process.c: [DOC] improve docs for Process.groups Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 65038) +++ process.c (revision 65039) @@ -6164,20 +6164,20 @@ maxgroups(void) https://github.com/ruby/ruby/blob/trunk/process.c#L6164 * call-seq: * Process.groups -> array * - * Get an <code>Array</code> of the gids of groups in the + * Get an <code>Array</code> of the group IDs in the * supplemental group access list for this process. * * Process.groups #=> [27, 6, 10, 11] * * Note that this method is just a wrapper of getgroups(2). * This means that the following characteristics of - * the results are completely depends on your system: + * the result completely depend on your system: * * - the result is sorted * - the result includes effective GIDs * - the result does not include duplicated GIDs * - * You can certainly get a sorted unique GID list of + * You can make sure to get a sorted unique GID list of * the current process by this expression: * * Process.groups.uniq.sort -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/