Made cdrskin work with null-drive (which it mistook for something like ATA:)

ZeroFourZero
Thomas Schmitt 15 years ago
parent c8c349469d
commit df382b3f06
  1. 4
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

@ -1909,8 +1909,10 @@ int Cdrpreskin__cdrecord_to_dev(char *adr, char device_adr[Cdrskin_adrleN],
digit_seen= 1;
}
if(!digit_seen) {
if(strcmp(adr,"stdio:")==0)
return(0);
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;
return(1);
}

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.08.102151"
#define Cdrskin_timestamP "2007.09.08.102620"

Loading…
Cancel
Save