diff options
| author | Marc Brockschmidt <he@debian.org> | 2008-07-28 16:09:53 -0400 |
|---|---|---|
| committer | Colin Walters <walters@verbum.org> | 2008-07-28 16:14:18 -0400 |
| commit | 9d51f086b05df196b94234d6a0d388594feedd73 (patch) | |
| tree | 7dab91cd2603b1f6a67febdeb7e0433bc86fa034 /test/test-utils.c | |
| parent | 121c6b13a35759ee590551cfb9978e9f20766a12 (diff) | |
Bug 16727: Handle ERANGE for getgr; fixes user in many groups
Patch originally from Noèl Köthe.
Modified by Colin Walters <walters@verbum.org>
* dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-unix-utils.c:
Use a while() loop to reallocate buffer if we get ERANGE
return. This fixes the case where a user is in a large
number of groups.
Diffstat (limited to 'test/test-utils.c')
0 files changed, 0 insertions, 0 deletions
