1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-05 04:36:34 +00:00

Red Hat issue 1021429: getgroupent fails with large number of groups

This commit is contained in:
Gerhard Rieger 2014-01-26 15:24:55 +01:00
parent ab74be65e5
commit 52e8a5ec2b
10 changed files with 83 additions and 14 deletions

View file

@ -1,5 +1,5 @@
/* source: sysutils.h */
/* Copyright Gerhard Rieger 2001-2011 */
/* Copyright Gerhard Rieger */
/* Published under the GNU General Public License V.2, see file COPYING */
#ifndef __sysutils_h_included
@ -74,7 +74,7 @@ extern const char *inet_ntop(int pf, const void *binaddr,
#endif
#if defined(HAVE_SETGRENT) && defined(HAVE_GETGRENT) && defined(HAVE_ENDGRENT)
extern int getusergroups(const char *user, gid_t *list, size_t *ngroups);
extern int getusergroups(const char *user, gid_t *list, int *ngroups);
#endif
#if !HAVE_HSTRERROR