From: Adrian Bunk <bunk@fs.tum.de>
To: linux-kernel@vger.kernel.org
Cc: trivial@rustcorp.com.au, bwindle-kbt@fint.org
Subject: [2.5 patch]
Date: Thu, 19 Jun 2003 01:33:28 +0200 [thread overview]
Message-ID: <20030618233328.GK29247@fs.tum.de> (raw)
Burton Windle sent a patch that does the following (slightly reformatted
by me) in Bugzilla #142:
--- linux-2.5.72/scripts/ver_linux.old 2003-06-19 01:26:24.000000000 +0200
+++ linux-2.5.72/scripts/ver_linux 2003-06-19 01:27:53.000000000 +0200
@@ -61,7 +61,8 @@
ls -l /usr/lib/lib{g,stdc}++.so 2>/dev/null | awk -F. \
'{print "Linux C++ Library " $4"."$5"."$6}'
-ps --version 2>&1 | awk 'NR==1{print "Procps ", $NF}'
+ps --version 2>&1 | grep version | awk \
+'NR==1{print "Procps ", $NF}'
ifconfig --version 2>&1 | grep tools | awk \
'NR==1{print "Net-tools ", $NF}'
Explanation by Burton (from Bugzilla) follows below.
Please apply
Adrian
<-- snip -->
With the current 2.5 Linux kernel, the ver_linux script prints bad
version
info for the Procps line:
Procps 100.
Steps to reproduce:
This is because
razor:/giant/linux/scripts# ps --version
Unknown HZ value! (85) Assume 100.
procps version 2.0.7
razor:/giant/linux/scripts# ps --version 2>&1 | awk 'NR==1
{print "Procps , $NF}'
Procps 100.
<-- snip -->
reply other threads:[~2003-06-18 23:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030618233328.GK29247@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=bwindle-kbt@fint.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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®