From 8a227d87e7526c80386ef5ff9c6dc654a4303a7d Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 6 Jul 2011 19:01:55 +0000 Subject: [PATCH] Hopefully fixed Debian bug 632865: blank ISO images with drive role 5 --- libisoburn/isofs_wrap.c | 5 +++++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libisoburn/isofs_wrap.c b/libisoburn/isofs_wrap.c index 91b4b8ef..06fb12c3 100644 --- a/libisoburn/isofs_wrap.c +++ b/libisoburn/isofs_wrap.c @@ -496,6 +496,11 @@ int isoburn_start_emulation(struct isoburn *o, int flag) s = burn_disc_get_status(drive); o->fabricated_disc_status= s; 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;} } else if (capacity > 0 || role == 2 || role == 4) { /* Might be a block device on a system where libburn cannot determine its diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 92f18198..e28f4f22 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.07.05.145103" +#define Xorriso_timestamP "2011.07.06.190111"