From 6a31fd8d732afd232d6a99708192170e13129374 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 12 Nov 2009 11:59:09 -0700 Subject: build: update gnulib, for getgroups improvements A replacement getgroups is now guaranteed to exist, but it may fail with ENOSYS. mgetgroups is moved to gnulib, and now takes gid_t instead of GETGROUPS_T (but setgroups still needs GETGROUPS_T). * gnulib: Update to latest. * gl/modules/mgetgroups: Delete, moved to gnulib. * gl/m4/mgetgroups.m4: Likewise. * gl/lib/mgetgroups.h: Likewise. * gl/lib/mgetgroups.c: Likewise. * src/group-list.c (print_group_list): Adjust callers. * src/id.c (print_full_info): Likewise. --- gl/m4/mgetgroups.m4 | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 gl/m4/mgetgroups.m4 (limited to 'gl/m4') diff --git a/gl/m4/mgetgroups.m4 b/gl/m4/mgetgroups.m4 deleted file mode 100644 index 4b3f32828..000000000 --- a/gl/m4/mgetgroups.m4 +++ /dev/null @@ -1,11 +0,0 @@ -#serial 3 -dnl Copyright (C) 2007-2009 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -AC_DEFUN([gl_MGETGROUPS], -[ - AC_CHECK_FUNCS([getgrouplist]) - AC_LIBOBJ([mgetgroups]) -]) -- cgit v1.2.3-54-g00ecf