aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-02 16:39:32 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-02 16:39:32 +0000
commit5431ece5bb728fdf0b77500be1ae773919e363fd (patch)
treef6e14c0b21465d59c7efea2acdc36c7f2144b87c
parent813f4f4dff904de333642ffa8c17b9309d8f182e (diff)
downloadglibc-5431ece5bb728fdf0b77500be1ae773919e363fd.zip
glibc-5431ece5bb728fdf0b77500be1ae773919e363fd.tar.gz
glibc-5431ece5bb728fdf0b77500be1ae773919e363fd.tar.bz2
Update.
* elf/dl-load.c: Use alloca, not __alloca.
-rw-r--r--ChangeLog2
-rw-r--r--elf/dl-load.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f019f3..d01565b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
* nscd/nscd_getgr_r.c: Mark local functions as internal.
* nscd/nscd_gethst_r.c: Likewise.
+ * elf/dl-load.c: Use alloca, not __alloca.
+
* sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is
correctly passed to the kernel even on 64bit platforms.
Patch by Bruce Elliott <bde@nwlink.com>.
diff --git a/elf/dl-load.c b/elf/dl-load.c
index cc3ac6e..07ac3597 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1013,7 +1013,7 @@ open_path (const char *name, size_t namelen, int preloaded,
return -1;
}
- buf = __alloca (max_dirnamelen + max_capstrlen + namelen);
+ buf = alloca (max_dirnamelen + max_capstrlen + namelen);
do
{
struct r_search_path_elem *this_dir = *dirs;