From 21b4191404a29e8bed9636a8d981e1d354afed48 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 19 Aug 2013 15:27:46 +0000 Subject: [PATCH] Downgraded severity of media overflow with -print_size --- xorriso/write_run.c | 8 ++++++-- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/xorriso/write_run.c b/xorriso/write_run.c index 8fdcbe62..4b3ab1f0 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -249,8 +249,12 @@ no_track:; Xorriso_process_msg_queues(xorriso,0); sprintf(xorriso->info_text,"Image size %ds exceeds free space on media %ds", img_sectors + padding, media_space); - Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); - {ret= 0; goto ex;} + if(flag & 1) { + Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0); + } else { + Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); + {ret= 0; goto ex;} + } } if(flag&1) { ret= multi_emul_blocks + img_sectors + padding; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index a8c8ec7e..5efb3b9b 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2013.08.16.153743" +#define Xorriso_timestamP "2013.08.19.152714"