Fixed a bug with -grow_blindly to overwriteable media

master
Thomas Schmitt 14 years ago
parent f96fdc339a
commit 362ecda0f3
  1. 13
      libisoburn/isoburn.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -517,12 +517,15 @@ int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
int ret;
struct isoburn *o= NULL;
if(nwa >= 0) {
ret= isoburn_find_emulator(&o, out_drive, 0);
if(ret<0 || o==NULL)
return(-1);
ret= isoburn_find_emulator(&o, out_drive, 0);
if(ret<0 || o==NULL)
return(-1);
if(nwa >= 0)
o->fabricated_msc2= nwa;
}
if(o->nwa == o->zero_nwa)
o->nwa= o->zero_nwa= 0;
else
o->zero_nwa= 0;
ret= isoburn_prepare_disc_aux(d, out_drive, disc, opts, 2);
if (ret<=0)
return ret;

@ -1 +1 @@
#define Xorriso_timestamP "2008.07.05.133721"
#define Xorriso_timestamP "2008.07.05.180241"

Loading…
Cancel
Save