From f830c3019624293fcf03202f94c6e5c04e0da9ab Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 6 May 2008 08:44:28 +0000 Subject: [PATCH] Calling isoburn_cancel_prepared_write() after failed isoburn_disc_write() --- xorriso/xorriso_timestamp.h | 2 +- xorriso/xorrisoburn.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 2d329de6..455ba0a8 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.05.05.210317" +#define Xorriso_timestamP "2008.05.06.084439" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 0b0ebfb6..213bf746 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -1027,6 +1027,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag) if(ret<=0) goto ex; if(!isoburn_drive_wrote_well(drive)) { + isoburn_cancel_prepared_write(source_drive, drive, 0); Xorriso_process_msg_queues(xorriso,0); sprintf(xorriso->info_text, "libburn indicates failure with writing.");