summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-14 22:17:13 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-15 00:02:54 -0600
commit28096715d49fe420ed194e8520ec5e81bc2cdc85 (patch)
tree854bfe79c924dc6c66bc8065a45b543822935277 /Makefile
parent810f46ab1cc801e54fc3836c22b5f1364cd632e6 (diff)
downloadgcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.tar.gz
gcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.tar.bz2
gcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.tar.xz
gcompat-28096715d49fe420ed194e8520ec5e81bc2cdc85.zip
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 <samuel@sholland.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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 \