mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (get_sc_ngroups_max): return -1 if platform don't
support NGROUPS_MAX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d49f0d9576
commit
4a8cf2d92d
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Mar 11 01:25:03 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* process.c (get_sc_ngroups_max): return -1 if platform don't
|
||||||
|
support NGROUPS_MAX.
|
||||||
|
|
||||||
Thu Mar 10 22:28:15 2011 Tanaka Akira <akr@fsij.org>
|
Thu Mar 10 22:28:15 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/openssl/ossl_ssl.h: parenthesize macro arguments.
|
* ext/openssl/ossl_ssl.h: parenthesize macro arguments.
|
||||||
|
|
|
||||||
|
|
@ -4553,7 +4553,7 @@ static int get_sc_ngroups_max(void)
|
||||||
#elif defined(NGROUPS_MAX)
|
#elif defined(NGROUPS_MAX)
|
||||||
return (int)NGROUPS_MAX;
|
return (int)NGROUPS_MAX;
|
||||||
#else
|
#else
|
||||||
return 32;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
static int maxgroups(void)
|
static int maxgroups(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue