Hopefully fixed Debian bug 632865: blank ISO images with drive role 5

This commit is contained in:
Thomas Schmitt 2011-07-06 19:01:55 +00:00
parent 2f8ea0152d
commit 36b321fc58
2 changed files with 6 additions and 1 deletions

View File

@ -496,6 +496,11 @@ int isoburn_start_emulation(struct isoburn *o, int flag)
s = burn_disc_get_status(drive); s = burn_disc_get_status(drive);
o->fabricated_disc_status= s; o->fabricated_disc_status= s;
burn_disc_track_lba_nwa(drive, NULL, 0, &dummy, &(o->nwa)); burn_disc_track_lba_nwa(drive, NULL, 0, &dummy, &(o->nwa));
/* >>> Debian Bug#632865 ? */
if(o->nwa < o->zero_nwa)
o->zero_nwa= 0;
{ret= 1; goto ex;} {ret= 1; goto ex;}
} else if (capacity > 0 || role == 2 || role == 4) { } else if (capacity > 0 || role == 2 || role == 4) {
/* Might be a block device on a system where libburn cannot determine its /* Might be a block device on a system where libburn cannot determine its

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.07.05.145103" #define Xorriso_timestamP "2011.07.06.190111"