]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Complete last patch.
authorUlrich Drepper <drepper@redhat.com>
Wed, 10 Nov 1999 04:10:36 +0000 (04:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 10 Nov 1999 04:10:36 +0000 (04:10 +0000)
elf/dl-load.c

index 58ee256e5b18b46b40e1dcd317c1ec3972b74217..e8bdcc83996c0caf2c83e46fb34c117ba037846c 100644 (file)
@@ -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