Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Script to test instruction set.
Date: Wed, 13 Aug 2003 08:25:03
Message-Id: 20030813082459.GA20362%chutz@gg3.net
In Reply to: Re: [gentoo-dev] Script to test instruction set. by Georgi Georgiev
1 Ooops...
2
3 --- analyse-x86 2003-08-13 08:21:42.000000000 +0000
4 +++ analyse-x86 2003-08-13 08:21:20.000000000 +0000
5 @@ -14,7 +14,7 @@
6 # so check vendor_id string, and enable relevant sets.
7 print "Checking vendor_id string...";
8 my $param = shift;
9 -unless (defined $param and $param eq "--vendor") {
10 +unless (defined $param and $param =~ /^--vendor=/) {
11 open PIPE, "grep -Em1 '^vendor_id.*: ' /proc/cpuinfo | cut -d' ' -f2 | " or die;
12 $_ = <PIPE>;
13 close PIPE;
14
15
16 --
17 ( Georgi Georgiev ( To make tax forms true they should read (
18 ) chutz@×××.net ) "Income Owed Us" and "Incommode You". )
19 ( +81(90)6266-1163 ( (
20
21 --
22 gentoo-dev@g.o mailing list