Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
radeontool
radeontool-fix-option-handling.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File radeontool-fix-option-handling.diff of Package radeontool
--- ../radeontool-1.5~/radeontool.c 2006-03-08 07:48:46.000000000 +0100 +++ ./radeontool.c 2006-03-08 08:00:50.000000000 +0100 @@ -377,19 +377,23 @@ static void map_radeon_cntl_mem(void) int main(int argc,char *argv[]) { + while (argc > 1) { + if(strcmp(argv[1],"--debug") == 0) { + debug=1; + argv++; argc--; + continue; + }; + if(strncmp(argv[1],"--skip=",7) == 0) { + skip=atoi(argv[1]+7); + argv++; argc--; + continue; + }; + break; + }; + map_radeon_cntl_mem(); if(argc == 1) { - map_radeon_cntl_mem(); usage(); } - if(strcmp(argv[1],"--debug") == 0) { - debug=1; - argv++; argc--; - }; - if(strncmp(argv[1],"--skip=",7) == 0) { - skip=atoi(argv[1]+7); - argv++; argc--; - }; - map_radeon_cntl_mem(); if(argc == 2) { if(strcmp(argv[1],"regs") == 0) { radeon_cmd_regs();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor