[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/40543 CVS commit: src/usr.bin/ldd
The following reply was made to PR bin/40543; it has been noted by GNATS.
From: matthew green <mrg%netbsd.org@localhost>
Subject: PR/40543 CVS commit: src/usr.bin/ldd
Date: Tue, 3 Feb 2009 03:01:02 +0000 (UTC)
Module Name: src
Committed By: mrg
Date: Tue Feb 3 03:01:02 UTC 2009
src/usr.bin/ldd: ldd.c ldd.h ldd_aout.c ldd_elfxx.c
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.4 -r1.5 src/usr.bin/ldd/ldd.c
cvs rdiff -r1.1 -r1.2 src/usr.bin/ldd/ldd.h src/usr.bin/ldd/ldd_elfxx.c
cvs rdiff -r1.2 -r1.3 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.
Main Index |
Thread Index |