From 410d972188cf2f9e8b4461370c6b1833b541aa72 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 8 Sep 2008 12:16:42 +0000 Subject: [PATCH] Bug fix: -format full did not re-format already formatted DVD+RW --- xorriso/xorriso_timestamp.h | 2 +- xorriso/xorrisoburn.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 32ce85b2..7d0b4ce4 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.09.08.094748" +#define Xorriso_timestamP "2008.09.08.121548" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 78f395a9..9e8e072c 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -982,9 +982,6 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag) {ret= 0; goto ex;} } - - - Xorriso_set_abort_severity(xorriso, 1); if (xorriso->grow_blindly_msc2 >= 0 && xorriso->out_drive_handle != xorriso->in_drive_handle) { @@ -4048,6 +4045,8 @@ int Xorriso_format_media(struct XorrisO *xorriso, int flag) Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0); return(0); } + if(!(flag & 1)) + mode_flag|= 16; /* enable re-formatting */ if(xorriso->do_dummy) { sprintf(xorriso->info_text, "-dummy mode prevents formatting of media.");