Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Minor cleanup.
details: https://anonhg.NetBSD.org/src/rev/8c323e2b1771
branches: trunk
changeset: 537761:8c323e2b1771
user: junyoung <junyoung%NetBSD.org@localhost>
date: Sat Oct 05 16:13:31 2002 +0000
description:
Minor cleanup.
diffstat:
libexec/ld.elf_so/paths.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r da7b708423fa -r 8c323e2b1771 libexec/ld.elf_so/paths.c
--- a/libexec/ld.elf_so/paths.c Sat Oct 05 16:10:41 2002 +0000
+++ b/libexec/ld.elf_so/paths.c Sat Oct 05 16:13:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: paths.c,v 1.22 2002/10/05 15:43:56 junyoung Exp $ */
+/* $NetBSD: paths.c,v 1.23 2002/10/05 16:13:31 junyoung Exp $ */
/*
* Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -356,8 +356,6 @@
if (*b == '\0')
break;
- doing_path = *b == '/';
-
len = strcspn(b, "\n#");
if (len == 0) {
if (*b == '#')
@@ -365,6 +363,7 @@
continue;
}
+ doing_path = *b == '/';
if (doing_path)
path_p = _rtld_append_path(head_p, path_p, b,
strcspn(b, " \t"));
Home |
Main Index |
Thread Index |
Old Index