From 8145a97443a708443ed2c39e80e681a5c5354e92 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 19 Oct 1996 23:33:00 +0000 Subject: update from main archive 961019 Sat Oct 19 17:42:24 1996 Ulrich Drepper * intl/locale.alias: Language for entry `czech' is `cs'. Fri Oct 17 13:20:35 1996 Thorsten Kukuk * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. Fri Oct 18 22:56:45 1996 Ulrich Drepper * sunrpc/Makefile (install-sbin): Remove portmap. This version is buggy and more competent people work on a usable version which is distributed separately. * sunrpc/portmap.c: Removed. Suggested by Thorsten Kukuk. Fri Oct 18 12:17:09 1996 Enrique Melero * sysdeps/libm-ieee754/s_finitel.c: Change function name to `finitel'. Fri Oct 18 00:01:10 1996 Ulrich Drepper * string/Makefile (tests): Add stratcliff. * string/stratcliff.c: New file. Test for string function at the edge of the usable memory. Thu Oct 17 22:10:19 1996 Ulrich Drepper * Makerules ($(libdir)/libc.so): Fix typo. * elf/ldd.sh.in: Test whether given file really exist and give better message if it is not available. Thu Oct 17 04:25:38 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for SHM_R and SHM_W. * locale/programs/localedef.c (main): Test with -1 to find out --- elf/ldd.sh.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'elf') diff --git a/elf/ldd.sh.in b/elf/ldd.sh.in index 78fda69d22..ede1b9790b 100644 --- a/elf/ldd.sh.in +++ b/elf/ldd.sh.in @@ -17,7 +17,9 @@ case $# in /*) file="$1" ;; *) file="./$1" ;; esac - if ${RTLD} --verify "$file"; then + if test ! -f "$file"; then + echo "$file: no such file" + elif ${RTLD} --verify "$file"; then LD_TRACE_LOADED_OBJECTS=1 exec ${RTLD} "$file" && exit 1 else echo ' not a dynamic executable' @@ -31,7 +33,9 @@ case $# in /*) file="$file" ;; *) file="./$file" ;; esac - if ${RTLD} --verify "$file"; then + if test ! -f "$file"; then + echo "$file: no such file" + elif ${RTLD} --verify "$file"; then LD_TRACE_LOADED_OBJECTS=1 ${RTLD} "$file" else echo ' not a dynamic executable' -- cgit v1.2.3