diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-08 04:30:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-08 04:30:56 +0000 |
commit | 119d66232db60742c0110cb0019f41f912ae3aaf (patch) | |
tree | daf99f90453592ea86ed02da8e178ca556198cc8 /ext/dl/handle.c | |
parent | 3df8fbf2481e4aacf7619f37309060fde72b0fdc (diff) |
process.c: expand buffer on ERANGE
* process.c (obj2uid, obj2gid): now getpwnam_r() and getgrnam_r()
may need larger buffers than sysconf values, so retry with
expanding the buffer when ERANGE is returned.
[ruby-core:61325] [Bug #9600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/handle.c')
0 files changed, 0 insertions, 0 deletions