From: Andreas Schwab Date: Fri, 20 May 2011 01:15:22 +0000 (-0400) Subject: Remove __libc_alloca_cutoff workaround X-Git-Tag: upstream/2.20~5381 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4527b51d41d87379ab7f63909a953a288c4c377;p=platform%2Fupstream%2Flinaro-glibc.git Remove __libc_alloca_cutoff workaround --- diff --git a/ChangeLog b/ChangeLog index ada1495..7557fa8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-05-19 Andreas Schwab + + * grp/compat-initgroups.c (__libc_use_alloca): Don't define. + 2011-05-19 Ulrich Drepper * libio/freopen.c (freopen): Use __dup2, not dup2. 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,