diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-07 15:07:35 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-07 15:07:35 +0000 |
commit | 9b0a7f493e216e45a3408bdd4612e9045561385f (patch) | |
tree | cb5a27104070fb57848c07d61dfad448b3282802 /regint.h | |
parent | 8f5f89452d6301db24b1bb2ff7f0f09e245f4596 (diff) | |
download | ruby-9b0a7f493e216e45a3408bdd4612e9045561385f.tar.gz |
* process.c (obj2gid): use getgrnum_r() only if getgrnam_r() and
_SC_GETGR_R_SIZE_MAX is available.
MirOS BSD (MirBSD 10 GENERIC#1382 i386) have getgrnam_r() but
no _SC_GETGR_R_SIZE_MAX.
(obj2uid): use getpwnam_r() only if getpwnam_r() and
_SC_GETPW_R_SIZE_MAX is available.
This is consistency for obj2gid.
MirOS BSD have neither getpwnam_r() nor _SC_GETPW_R_SIZE_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
0 files changed, 0 insertions, 0 deletions