aboutsummaryrefslogtreecommitdiff
path: root/grp/compat-initgroups.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-05-19 21:15:22 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-19 21:15:22 -0400
commita4527b51d41d87379ab7f63909a953a288c4c377 (patch)
tree55c3c3302cbff738c9b487cf681177062df8f028 /grp/compat-initgroups.c
parented690b2f24bbc4d9c541fc81a7c67e6dc5678a96 (diff)
downloadglibc-a4527b51d41d87379ab7f63909a953a288c4c377.zip
glibc-a4527b51d41d87379ab7f63909a953a288c4c377.tar.gz
glibc-a4527b51d41d87379ab7f63909a953a288c4c377.tar.bz2
Remove __libc_alloca_cutoff workaround
Diffstat (limited to 'grp/compat-initgroups.c')
-rw-r--r--grp/compat-initgroups.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/grp/compat-initgroups.c b/grp/compat-initgroups.c
index 7bcc203..260c482 100644
--- a/grp/compat-initgroups.c
+++ b/grp/compat-initgroups.c
@@ -8,12 +8,6 @@ typedef enum nss_status (*end_function) (void);
typedef enum nss_status (*get_function) (struct group *, char *,
size_t, int *);
-/* This file is also used in nscd where __libc_alloca_cutoff is not
- available. */
-#ifdef NOT_IN_libc
-# define __libc_use_alloca(size) ((size) < __MAX_ALLOCA_CUTOFF * 4)
-#endif
-
static enum nss_status
compat_call (service_user *nip, const char *user, gid_t group, long int *start,