From 66616027c2e29f95271c52dae4780941f2a51155 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 27 Jun 2008 12:41:26 +0000 Subject: [PATCH] Bug fix: -as cdrecord -atip falsely announced overwriteable DVD-RW to sdvdbackup --- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- libisoburn/trunk/xorriso/xorrisoburn.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index d01118bd..de84f8c7 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.06.22.135202" +#define Xorriso_timestamP "2008.06.27.124201" diff --git a/libisoburn/trunk/xorriso/xorrisoburn.c b/libisoburn/trunk/xorriso/xorrisoburn.c index 87df4129..913d4638 100644 --- a/libisoburn/trunk/xorriso/xorrisoburn.c +++ b/libisoburn/trunk/xorriso/xorrisoburn.c @@ -5871,8 +5871,10 @@ int Xorriso_atip(struct XorrisO *xorriso, int flag) if(strstr(profile_name,"DVD")==profile_name) { sprintf(respt, "book type: %s (emulated booktype)\n", profile_name); Xorriso_result(xorriso,1); - sprintf(respt, "xorriso: message for sdvdbackup: \"(growisofs mode Restricted Overwrite)\"\n"); - Xorriso_result(xorriso,1); + if(profile_number == 0x13) { + sprintf(respt, "xorriso: message for sdvdbackup: \"(growisofs mode Restricted Overwrite)\"\n"); + Xorriso_result(xorriso,1); + } } else { sprintf(respt, "ATIP info from disk:\n"); Xorriso_result(xorriso,1);