* [PATCH] Remove __libc_alloca_cutoff workaround
@ 2011-05-19 11:48 Andreas Schwab
0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2011-05-19 11:48 UTC (permalink / raw)
To: libc-hacker
Since __libc_alloca_cutoff is now exported it is no longer need to
override __libc_use_alloca for nscd.
Andreas.
2011-05-19 Andreas Schwab <schwab@redhat.com>
* grp/compat-initgroups.c (__libc_use_alloca): Don't define.
---
grp/compat-initgroups.c | 6 ------
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,
--
1.7.4.4
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-19 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 11:48 [PATCH] Remove __libc_alloca_cutoff workaround Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).