Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ldd/ldd_elf Adapt to changes in "rtld.h".
details: https://anonhg.NetBSD.org/src/rev/68381ca24e57
branches: trunk
changeset: 536320:68381ca24e57
user: tron <tron%NetBSD.org@localhost>
date: Fri Sep 13 08:40:05 2002 +0000
description:
Adapt to changes in "rtld.h".
diffstat:
usr.bin/ldd/ldd_elf/ldd.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r d0b550f2b9ab -r 68381ca24e57 usr.bin/ldd/ldd_elf/ldd.c
--- a/usr.bin/ldd/ldd_elf/ldd.c Fri Sep 13 05:45:46 2002 +0000
+++ b/usr.bin/ldd/ldd_elf/ldd.c Fri Sep 13 08:40:05 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ldd.c,v 1.11 2000/12/12 11:16:02 simonb Exp $ */
+/* $NetBSD: ldd.c,v 1.12 2002/09/13 08:40:05 tron Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -113,16 +113,16 @@
#ifdef DEBUG
debug = 1;
#endif
- _rtld_add_paths(&_rtld_default_paths, RTLD_DEFAULT_LIBRARY_PATH, true);
+ _rtld_add_paths(&_rtld_default_paths, RTLD_DEFAULT_LIBRARY_PATH);
_rtld_trust = geteuid() == getuid() && getegid() == getgid();
if (_rtld_trust) {
- _rtld_add_paths(&_rtld_paths, getenv("LD_LIBRARY_PATH"), true);
+ _rtld_add_paths(&_rtld_paths, getenv("LD_LIBRARY_PATH"));
}
- _rtld_process_hints(&_rtld_paths, &_rtld_xforms, _PATH_LD_HINTS, true);
+ _rtld_process_hints(&_rtld_paths, &_rtld_xforms, _PATH_LD_HINTS);
for (argc--, argv++; argc != 0; argc--, argv++) {
int fd = open(*argv, O_RDONLY);
@@ -148,7 +148,7 @@
_rtld_objtail = &_rtld_objmain->next;
++_rtld_objmain->refcount;
- (void) _rtld_load_needed_objects(_rtld_objmain, 0, true);
+ (void) _rtld_load_needed_objects(_rtld_objmain, 0);
printf("%s:\n", _rtld_objmain->path);
print_needed(_rtld_objmain);
Home |
Main Index |
Thread Index |
Old Index