summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-24 17:03:23 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-24 17:03:23 +0000
commit3dd90163bb9ecb7d8b6c7a2f7d6bc746571a7ea9 (patch)
treeb7f3b28f5b6cf724e8017b7e708fa4eccecf7b75 /elf
parent92610fbe38faa5a4c338c07412c9b14c4e747ef8 (diff)
downloadglibc-3dd90163bb9ecb7d8b6c7a2f7d6bc746571a7ea9.tar.gz
Update.
* elf/dl-close.c (_dl_close): Replace questionable memcpy by loop. 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * libc.map: Add more rpc auth functions/variables. * nscd/nscd.c: Add -g option to argp options. 1998-03-24 Ulrich Drepper <drepper@cygnus.com> * configure.in: Be prepared for gcc 2.9.10 and up. * configure.in: Add missing disabling of quote characters in compiler version check. Reported by HJ Lu. 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h. 1998-03-24 Ulrich Drepper <drepper@cygnus.com> * intl/locale.alias: Fix spelling of romanian.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-close.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index ad84f94338..566e345165 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -95,8 +95,11 @@ _dl_close (struct link_map *map)
do
--tail;
while (*tail != imap);
- memcpy (tail, tail + 1,
- (char *) _dl_global_scope_end - (char *) tail);
+ while (tail <= _dl_global_scope_end)
+ {
+ tail[0] = tail[1];
+ ++tail;
+ }
--_dl_global_scope_end;
}