Remove __libc_alloca_cutoff workaround
authorAndreas Schwab <schwab@redhat.com>
Fri, 20 May 2011 01:15:22 +0000 (21:15 -0400)
committerUlrich Drepper <drepper@gmail.com>
Fri, 20 May 2011 01:15:22 +0000 (21:15 -0400)
ChangeLog
grp/compat-initgroups.c

index ada149527c11ef26466c210d3a2ab3baa05f50ea..7557fa8aa859ae9d039b0d82151796bb6b3b5879 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-19  Andreas Schwab  <schwab@redhat.com>
+
+       * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
+
 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
 
        * libio/freopen.c (freopen): Use __dup2, not dup2.
index 7bcc203fe4b1c8f0b5025687116dfc706f70b8fe..260c4826c2c2991bb0db584c4e7d5245b13a35ad 100644 (file)
@@ -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,