1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-13 02:42:48 +03:00

mgetgroups: port to strict OS X

* doc/glibc-functions/getgrouplist.texi (getgrouplist):
Document the getgrouplist problem.
* lib/mgetgroups.c (getgrouplist_gids) [HAVE_GETGROUPLIST]:
New macro.
(mgetgroups): Use it.
* m4/mgetgroups.m4 (gl_MGETGROUPS):
Check for OS X signature for getgrouplist.
This commit is contained in:
Paul Eggert
2015-06-28 23:43:35 -07:00
committed by Jim Meyering
parent 7055161313
commit b4d1637b79
3 changed files with 48 additions and 2 deletions

View File

@@ -10,6 +10,10 @@ Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
@itemize
@item
This function takes @code{int} instead of @code{gid_t} parameters
on some platforms: OS X 10.11.
@item
This function is missing on some platforms:
Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.7.9, mingw, MSVC 9, BeOS.