Browse Source

micro-optimization -- we already know how long the source is

Eric Andersen 18 years ago
parent
commit
40525510c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldso/ldso/dl-elf.c

+ 1 - 1
ldso/ldso/dl-elf.c

@@ -162,7 +162,7 @@ search_for_named_library(const char *name, int secure, const char *path_list,
 	}
 #endif
 
-	_dl_strcpy(path, path_list);
+	_dl_memcpy(path, path_list, done);
 
 	/* Unlike ldd.c, don't bother to eliminate double //s */