1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

grp: Rewrite to use struct scratch_buffer instead of extend_alloca

grp/compat-initgroups.c is included from nscd/initgrcache.c, which is
why the #include directive has to be added there as well.
This commit is contained in:
Florian Weimer
2015-04-08 20:51:34 +02:00
parent 7b8399f479
commit 866ba63b31
4 changed files with 16 additions and 19 deletions

View File

@ -15,7 +15,6 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include <alloca.h>
#include <assert.h>
#include <errno.h>
#include <grp.h>
@ -26,6 +25,7 @@
#include <sys/param.h>
#include <sys/types.h>
#include <nsswitch.h>
#include <scratch_buffer.h>
#include "../nscd/nscd-client.h"
#include "../nscd/nscd_proto.h"