merge revision(s) 39352,39360:

	* file.c (RB_MAX_GROUPS): moved to

	* internal.h (RB_MAX_GROUPS): here.

	* file.c (rb_group_member): use RB_MAX_GROUPS instead of
	  RUBY_GROUP_MAX. They are the same.

	* process.c (RB_MAX_GROUPS): moved to


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
merge revision(s) 39353: [Backport #8057]

	* file.c (rb_group_member): added an error check. SUS says,
	  getgroups(small_value) may return EINVAL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e