From: Ulrich Drepper Date: Wed, 10 Nov 1999 04:10:36 +0000 (+0000) Subject: Complete last patch. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5f3e215c52b1245d1dae358653394cc2793f46;p=thirdparty%2Fglibc.git Complete last patch. --- diff --git a/elf/dl-load.c b/elf/dl-load.c index 58ee256e5b1..e8bdcc83996 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -149,6 +149,7 @@ local_strdup (const char *s) size_t _dl_dst_count (const char *name, int is_path) { + const char* const start = name; size_t cnt = 0; do @@ -186,6 +187,7 @@ char * _dl_dst_substitute (struct link_map *l, const char *name, char *result, int is_path) { + const char* const start = name; char *last_elem, *wp; /* Now fill the result path. While copying over the string we keep