Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 246751 Details for
Bug 356151
i810switch crashes 100% of the time on x86_64 Thinkpad x60
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
test.c
test.c (text/plain), 482 bytes, created by
Matt Domsch
on 2007-11-02 14:15:02 UTC
(
hide
)
Description:
test.c
Filename:
MIME Type:
Creator:
Matt Domsch
Created:
2007-11-02 14:15:02 UTC
Size:
482 bytes
patch
obsolete
>#define _GNU_SOURCE >#include <stdio.h> >#include <unistd.h> >#include <stdlib.h> > >#define CMD_LSPCI "lspci" > >int main (int argc, char *argv[]) >{ > FILE *pci_f; > char lspcistr[] = CMD_LSPCI " -v "; > char *buff; > size_t len=0; > > putenv("PATH=/sbin:/usr/sbin:/bin:/usr/bin"); > pci_f = popen(lspcistr, "r"); > if (!pci_f) { > fprintf(stderr, "Something is wrong with lspci.\n"); > exit(1); > } > while (getline(&buff, &len, pci_f) > 0) { > printf("%s", buff); > } > pclose(pci_f); > return 0; >}
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 Raw
Actions:
View
Attachments on
bug 356151
:
242181
| 246751 |
246891