summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/library.c')
-rw-r--r--libexec/ld.so/library.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c
index d1fd9478647..72dd02012bc 100644
--- a/libexec/ld.so/library.c
+++ b/libexec/ld.so/library.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library.c,v 1.9 2001/08/21 01:19:35 drahn Exp $ */
+/* $OpenBSD: library.c,v 1.10 2001/09/22 04:33:36 drahn Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -120,9 +120,6 @@ _dl_load_shlib(const char *libname, elf_object_t *parent, int type)
if(*(path - 1) != '/') {/* Make sure '/' after dir path */
*path++ = '/';
}
- if(*pp) { /* ':' if not end. skip over. */
- pp++;
- }
while(path < lp + PATH_MAX && (*path++ = *ln++)) {};
if(path < lp + PATH_MAX) {
object = _dl_tryload_shlib(lp, type);