mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Keith Owens <kaos@ocs.com.au>
Cc: Matthias Juchem <juchem@uni-mannheim.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] new bug report script
Date: 07 Jan 2001 17:26:37 -0800	[thread overview]
Message-ID: <m3n1d27s1e.fsf@otr.mynet.cygnus.com> (raw)
In-Reply-To: <8673.978913442@ocs3.ocs-net>
In-Reply-To: Keith Owens's message of "Mon, 08 Jan 2001 11:24:02 +1100"

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/

  reply	other threads:[~2001-01-08  1:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-07  7:48 Matthias Juchem
2001-01-07  7:56 ` Ulrich Drepper
2001-01-07  8:01   ` Matthias Juchem
2001-01-07  8:16     ` Ulrich Drepper
2001-01-07 13:42       ` Paul Gortmaker
2001-01-07 13:52         ` Matthias Juchem
2001-01-07  9:43     ` Brett
2001-01-07  9:44       ` Matthias Juchem
2001-01-07 11:21         ` David Ford
2001-01-07 11:16       ` Kurt Roeckx
2001-01-07  9:00   ` [PATCH] " Matthias Juchem
2001-01-07  9:06     ` Ulrich Drepper
2001-01-07  9:19       ` Matthias Juchem
2001-01-07 12:38       ` Matthias Juchem
2001-01-07 13:58 ` Alan Cox
2001-01-07 14:00   ` Matthias Juchem
2001-01-07 14:19     ` Alan Cox
2001-01-07 14:33       ` Matthias Juchem
2001-01-07 14:43         ` David Ford
2001-01-07 14:49           ` Matthias Juchem
2001-01-08  0:24           ` Keith Owens
2001-01-08  1:26             ` Ulrich Drepper [this message]
2001-01-08  1:40               ` Matthias Juchem
2001-01-08  1:53                 ` Barry K. Nathan
2001-01-07 15:02       ` Russell King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3n1d27s1e.fsf@otr.mynet.cygnus.com \
    --to=drepper@redhat.com \
    --cc=drepper@cygnus.com \
    --cc=juchem@uni-mannheim.de \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®