diff --git a/libisoburn/trunk/libisoburn/burn_wrap.c b/libisoburn/trunk/libisoburn/burn_wrap.c index ec376c15..00dbcc7a 100644 --- a/libisoburn/trunk/libisoburn/burn_wrap.c +++ b/libisoburn/trunk/libisoburn/burn_wrap.c @@ -344,7 +344,7 @@ int isoburn_is_intermediate_dvd_rw(struct burn_drive *d, int flag) static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d, int flag) { - int ret, lba, nwa, profile, readonly= 0, role, random_access; + int ret, profile, readonly= 0, role, random_access; int emulation_started= 0; struct burn_multi_caps *caps= NULL; struct isoburn_toc_entry *t; @@ -356,6 +356,10 @@ static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d, char msg[80]; enum burn_disc_status s; +#ifndef Hardcoded_cd_rW + int lba, nwa; +#endif + s= burn_disc_get_status(d); profile_name[0]= 0; ret= burn_disc_get_profile(d, &profile, profile_name); @@ -417,7 +421,13 @@ static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d, /* >>> recognize unsuitable media (but allow read-only media) */; if(readonly && s != BURN_DISC_EMPTY) { + + /* >>> ts B10712: This maps BURN_DISC_UNSUITABLE to BURN_DISC_FULL + which can hardly be correct in general. + ??? What reason does this have ? + */ (*o)->fabricated_disc_status= BURN_DISC_FULL; + /* This might be overwriteable media in a -ROM drive. Pitfall: Multi-session media which bear a xorriso image for overwriteables diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index a03cf983..faa7510e 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.07.12.135452" +#define Xorriso_timestamP "2011.07.15.083052"