Mercurial > hg > octave-jordi > gnulib-hg
view doc/glibc-functions/setgroups.texi @ 18029:e4a13d95b503
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 28 Jun 2015 23:43:35 -0700 (2015-06-29) |
parents | 6355dc4626b5 |
children |
line wrap: on
line source
@node setgroups @subsection @code{setgroups} @findex setgroups Gnulib module: --- Portability problems fixed by Gnulib: @itemize @end itemize Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: AIX 5.1, mingw, MSVC 9, Interix 3.5, BeOS. @item On very old systems, this function operated on an array of @samp{int}, even though that was a different size than an array of @samp{gid_t}; you can use autoconf's AC_TYPE_GETGROUPS to set @code{GETGROUPS_T} to the appropriate size (since @code{getgroups} and @code{setgroups} share the same bug). @end itemize