From dc5f3e215c52b1245d1dae358653394cc2793f46 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 10 Nov 1999 04:10:36 +0000 Subject: [PATCH] Complete last patch. --- elf/dl-load.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.2