Files
Collin Funk 6a1ec8e867 mgetgroups: Prefer reallocarray to xalloc-oversized.
* lib/mgetgroups.c: Don't include xalloc-oversized.h.
(realloc_groupbuf): Remove function.
(mgetgroups): Use reallocarray instead of realloc_groupbuf.
* modules/mgetgroups (Depends-on): Add reallocarray. Remove
realloc-posix and xalloc-oversized.
2026-08-08 10:49:58 -07:00

30 lines
365 B
Plaintext

Description:
Return the group IDs of a user or current process in malloc'd storage.
Files:
lib/mgetgroups.c
lib/mgetgroups.h
m4/mgetgroups.m4
Depends-on:
free-posix
getgroups
getugroups
reallocarray
stdckdint-h
configure.ac:
gl_MGETGROUPS
Makefile.am:
lib_SOURCES += mgetgroups.c
Include:
"mgetgroups.h"
License:
LGPLv2+
Maintainer:
Jim Meyering, Eric Blake