Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 216096 Details for
Bug 300611
[patch] app-admin/procinfo-18-r1: segfaults with with large number of interrupts in /proc/stat
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
optional lsdev fix2
procinfo_lsdev_shared_interrupts.patch (text/plain), 633 bytes, created by
Markus Wagner
on 2010-01-11 18:00:15 UTC
(
hide
)
Description:
optional lsdev fix2
Filename:
MIME Type:
Creator:
Markus Wagner
Created:
2010-01-11 18:00:15 UTC
Size:
633 bytes
patch
obsolete
>--- procinfo-18~/lsdev.pl 2008-04-16 11:26:57.000000000 +0100 >+++ procinfo-18/lsdev.pl 2008-04-16 11:29:26.000000000 +0100 >@@ -21,11 +21,15 @@ > } else { > $n = (@line = split(' [ +] ')); > } >- $name = $line[$n-1]; >- $device{$name} = $name; >- @tmp = split(':', $line[0]); >- $tmp0 = int($tmp[0]); >- $irq{$name} = "$irq{$name} $tmp0"; >+ do { >+ $n--; >+ $name = $line[$n]; >+ $name =~ s/,//; >+ $device{$name} = $name; >+ @tmp = split(':', $line[0]); >+ $tmp0 = int($tmp[0]); >+ $irq{$name} = "$irq{$name} $tmp0"; >+ } while ($line[$n-1] =~ /,/); > } > close (IRQ); > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 300611
:
216091
|
216092
|
216094
| 216096 |
216097