NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/40543 CVS commit: [netbsd-5] src/usr.bin/ldd
The following reply was made to PR bin/40543; it has been noted by GNATS.
From: Soren Jacobsen <snj%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/40543 CVS commit: [netbsd-5] src/usr.bin/ldd
Date: Wed, 25 Feb 2009 03:09:31 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Wed Feb 25 03:09:31 UTC 2009
Modified Files:
src/usr.bin/ldd [netbsd-5]: ldd.c ldd.h ldd_aout.c ldd_elfxx.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #483):
usr.bin/ldd/ldd.c: revision 1.5
usr.bin/ldd/ldd.h: revision 1.2
usr.bin/ldd/ldd_aout.c: revision 1.3
usr.bin/ldd/ldd_elfxx.c: revision 1.2
rework the main loop and handlers:
- - open() and close() the file in the main loop
- - pass the fd down into the handlers
- - use _rtld_error() in ELFNAME(ldd)
this fixes PR#40543 and also makes error messages look better.
To generate a diff of this commit:
cvs rdiff -r1.2.12.1 -r1.2.12.2 src/usr.bin/ldd/ldd.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/usr.bin/ldd/ldd.h \
src/usr.bin/ldd/ldd_elfxx.c
cvs rdiff -r1.2.2.3 -r1.2.2.4 src/usr.bin/ldd/ldd_aout.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index