corosync/corosync — pull request #9 by jsgf (2013-03-08 01:01:24+00:00)
Title: Handle buffer size limit in get(pw|gr)nam_r

These functions return ERANGE if the supplied buffer is too small to
fit a line. Try doubling the buffer a few times until it works.