Bugzilla – Attachment 341734 Details for
Bug 577000
X fails after last upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fix.
0001-Fix-bogus-expansion-of-wildchar-characters-in-pci-de.patch (text/plain), 928 bytes, created by
Egbert Eich
on 2010-02-10 11:44:21 UTC
(
hide
)
Description:
Fix.
Filename:
MIME Type:
Creator:
Egbert Eich
Created:
2010-02-10 11:44:21 UTC
Size:
928 bytes
patch
obsolete
>From 2a9f1ed8cb2f807c94db0ecf399a6f9b41e54140 Mon Sep 17 00:00:00 2001 >From: Egbert Eich <eich@freedesktop.org> >Date: Wed, 10 Feb 2010 12:11:17 +0100 >Subject: [PATCH] Fix bogus expansion of wildchar characters in pci device lists. > >--- > scripts/setup-kms.sh | 7 ++++--- > 1 files changed, 4 insertions(+), 3 deletions(-) > >diff --git a/scripts/setup-kms.sh b/scripts/setup-kms.sh >index c678f48..e3f4450 100644 >--- a/scripts/setup-kms.sh >+++ b/scripts/setup-kms.sh >@@ -29,15 +29,16 @@ supported_classes="0300" > declare -a device vendor subdevice subvendor class intf > > parse_pciids_from_driver() { >- local pcilist=$1 >+ local pcilist="$1" > local line > local num=0 > OFS=$IFS > local IFS=" > " >- for i in $pcilist >+ # get rid of the wicked "*" >+ pcilist="${pcilist//\*/X}" >+ for line in $pcilist > do >- line=${i//\*/X} > eval $line > device[$num]=${d#0000} > vendor[$num]=${v#0000} >-- >1.6.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 577000
:
340728
| 341734