* elf/dl-load.c: Use alloca, not __alloca.
This commit is contained in:
Ulrich Drepper 1999-02-02 16:39:32 +00:00
parent 813f4f4dff
commit 5431ece5bb
2 changed files with 3 additions and 1 deletions

View File

@ -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>.

View File

@ -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;