Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
cdrdao
cdrdao-1.2.2-scan.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cdrdao-1.2.2-scan.patch of Package cdrdao
--- dao/main.cc +++ dao/main.cc @@ -1829,7 +1829,9 @@ sdata[i].product, sdata[i].revision); } delete[] sdata; - } else { + } +#if 0 + else { sdata = ScsiIf::scan(&len, "ATAPI"); if (sdata) { for (i = 0; i < len; i++) { @@ -1840,6 +1842,7 @@ } } #endif +#endif } static int checkToc(const Toc *toc) --- xdao/CdDevice.cc +++ xdao/CdDevice.cc @@ -1236,7 +1236,9 @@ for (i = 0; i < len; i++) CdDevice::add(sdata[i].dev.c_str(), sdata[i].vendor, sdata[i].product); delete[] sdata; - } else { + } +#if 0 + else { // Only scan for ATAPI devices if we got nothing on the ATA // interface, otherwise every device would show up twice on the // list. @@ -1248,6 +1250,7 @@ } } #endif +#endif } void CdDevice::remove(const char* dev)
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