Messages in this thread |  | | Subject | Re: [PATCH] new bug report script | From | Ulrich Drepper <> | Date | 07 Jan 2001 17:26:37 -0800 |
| |
Keith Owens <kaos@ocs.com.au> writes:
> 5) > # glibc versions. Take the last symbolic link, > # extract the version number from the file it points to. > if [ `expr "X$1" : 'Xl'` -eq 2 ] > then > while [ "X$2" != "X->" ] > do > shift > done > version2=`echo "$3" | tr -cd '[.0-9]' | \ > sed -e 's/\.\.*/./g' | > sed -e 's/^\.//g' | > sed -e 's/\.$//g'` > fi > ;;
Why don't you, as the other script suggested, execute libc.so.6? Symlinks can be missing or can be wrong.
-- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |