mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
[BZ #2415]
* elf/ldd.bash.in: Create better error messages for invalid input files.
This commit is contained in:
parent
a44cffaa12
commit
7cd67fd89e
@ -1,5 +1,9 @@
|
||||
2006-04-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #2415]
|
||||
* elf/ldd.bash.in: Create better error messages for invalid input
|
||||
files.
|
||||
|
||||
[BZ #2477]
|
||||
* sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_*
|
||||
macros for non-shared position-independent code.
|
||||
|
@ -144,9 +144,12 @@ for file do
|
||||
*) file=./$file
|
||||
;;
|
||||
esac
|
||||
if test ! -f "$file"; then
|
||||
if test ! -e "$file"; then
|
||||
echo "ldd: ${file}:" $"No such file or directory" >&2
|
||||
result=1
|
||||
elif test ! -f "$file"; then
|
||||
echo "ldd: ${file}:" $"not regular file" >&2
|
||||
result=1
|
||||
elif test -r "$file"; then
|
||||
test -x "$file" || echo 'ldd:' $"\
|
||||
warning: you do not have execution permission for" "\`$file'" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user