From 61c485fc10d23ba85d47379f379a1562d90f3d92 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 10 Jul 2011 11:26:20 +0000 Subject: [PATCH] Recognizing overwritable media, blanked by cdrskin --grow_overwriteable_iso --- libisoburn/isofs_wrap.c | 4 +++- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libisoburn/isofs_wrap.c b/libisoburn/isofs_wrap.c index 4726ccca..3928eedd 100644 --- a/libisoburn/isofs_wrap.c +++ b/libisoburn/isofs_wrap.c @@ -564,7 +564,9 @@ int isoburn_start_emulation(struct isoburn *o, int flag) isoburn_set_start_byte(o, size, 0); if(!(flag & 1)) o->fabricated_disc_status= BURN_DISC_APPENDABLE; - } else if (!strncmp((char*)pvm->std_identifier, "CDXX1", 5)) { + } else if (strncmp((char*)pvm->std_identifier, "CDXX1", 5) == 0 || + (strncmp((char*)pvm->std_identifier, "CDxx1", 5) == 0 && + pvm->vol_desc_type[0] == 'x')) { /* empty image */ isoburn_set_start_byte(o, o->zero_nwa * 2048, 0); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 64e0a577..1e9cf25f 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.07.08.131032" +#define Xorriso_timestamP "2011.07.10.112539"