Made cdrskin work with null-drive (which it mistook for something like ATA:)
This commit is contained in:
parent
8e6ba563b9
commit
8c8895c692
@ -1909,6 +1909,8 @@ int Cdrpreskin__cdrecord_to_dev(char *adr, char device_adr[Cdrskin_adrleN],
|
|||||||
digit_seen= 1;
|
digit_seen= 1;
|
||||||
}
|
}
|
||||||
if(!digit_seen) {
|
if(!digit_seen) {
|
||||||
|
if(strcmp(adr,"stdio:")==0)
|
||||||
|
return(0);
|
||||||
k= strlen(adr)-1;
|
k= strlen(adr)-1;
|
||||||
if(adr[k]==':' || (adr[k]>='A' && adr[k]<='Z')) {/* empty prefix ? */
|
if(adr[k]==':' || (adr[k]>='A' && adr[k]<='Z')) {/* empty prefix ? */
|
||||||
*driveno= 0;
|
*driveno= 0;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2007.09.08.102151"
|
#define Cdrskin_timestamP "2007.09.08.102620"
|
||||||
|
Loading…
Reference in New Issue
Block a user