case "$1" in
--v | --ve | --ver | --vers | --versi | --versio | --version)
echo $"ldd (GNU libc) @VERSION@
-Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
exit 0
exit 1
elif test -r "$file"; then
test -x "$file" ||
- echo $"ldd: warning: you do not have execution permission for" "\`$file'"
+ echo $"\
+ldd: warning: you do not have execution permission for" "\`$file'" >&2
if ${RTLD} --verify "$file"; then
LD_TRACE_LOADED_OBJECTS=1 exec ${RTLD} ${RELOCS} "$file" || exit 1
else
exit 1
fi
else
- echo $"ldd: error: you do not have read permission for" "\`$file'"
+ echo $"ldd: error: you do not have read permission for" "\`$file'" >&2
exit 1
fi
exit
result=1
elif test -r "$file"; then
test -x "$file" || echo $"\
-ldd: warning: you do not have execution permission for" "\`$file'"
+ldd: warning: you do not have execution permission for" "\`$file'" >&2
if ${RTLD} --verify "$file"; then
LD_TRACE_LOADED_OBJECTS=1 ${RTLD} ${RELOCS} "$file" || result=1
else
result=1
fi
else
- echo $"ldd: error: you do not have read permission for" "\`$file'"
+ echo $"ldd: error: you do not have read permission for" "\`$file'" >&2
result=1
fi
done
case "$1" in
--v | --ve | --ver | --vers | --versi | --versio | --version)
echo 'ldd (GNU libc) @VERSION@
-Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.'
exit 0
else
if test -r "$file"; then
test -x "$file" ||
- echo "ldd: warning: you do not have execution permission for \`$file'"
+ echo "\
+ldd: warning: you do not have execution permission for \`$file'" >&2
if ${RTLD} --verify "$file"; then
LD_TRACE_LOADED_OBJECTS=1 exec ${RTLD} ${RELOCS} "$file" || exit 1
else
exit 1
fi
else
- echo "ldd: error: you do not have read permission for \`$file'"
+ echo "ldd: error: you do not have read permission for \`$file'" >&2
exit 1
fi
fi
else
if test -r "$file"; then
test -x "$file" || echo "\
-ldd: warning: you do not have execution permission for \`$file'"
+ldd: warning: you do not have execution permission for \`$file'" >&2
if ${RTLD} --verify "$file"; then
LD_TRACE_LOADED_OBJECTS=1 ${RTLD} ${RELOCS} "$file" || result=1
else
result=1
fi
else
- echo "ldd: error: you do not have read permission for \`$file'"
+ echo "ldd: error: you do not have read permission for \`$file'" >&2
result=1
fi
fi