From 28096715d49fe420ed194e8520ec5e81bc2cdc85 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sun, 14 Jan 2018 22:17:13 -0600 Subject: grp: Implement fgetgrent_r/getgrent_r Like fgetpwent_r/getpwent_r, these require a deep copy of the structure into the caller-provided buffer. This is nontrivial for the array of strings member. getgrent_r is required by LSB. [NOTE: I'm not too happy with the macro, but it works. Any suggestions?] Signed-off-by: Samuel Holland --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4873403..14c68f4 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ LIBGCOMPAT_SRC = \ libgcompat/dlfcn.c \ libgcompat/execinfo.c \ libgcompat/gnulib.c \ + libgcompat/grp.c \ libgcompat/malloc.c \ libgcompat/math.c \ libgcompat/pthread.c \ -- cgit v1.2.3-70-g09d2