From e8800be3d234b4c81c68d506a1487860e24f2f27 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 21 Mar 2011 11:38:42 +0000 Subject: [PATCH] Made use of new API call isoburn_set_truncate --- xorriso/write_run.c | 5 +++++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/xorriso/write_run.c b/xorriso/write_run.c index 76aa0af3..47bc04fc 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -925,6 +925,11 @@ fprintf(stderr, "XORRISO_DEBUG: isoburn_igopt_set_tail_blocks(%d)\n", /* Important: do not return until burn_is_aborting() was checked */ Xorriso_set_signal_handling(xorriso, 1); + /* De-activate eventual target file truncation in dummy mode */ + ret= isoburn_set_truncate(drive, (!xorriso->do_dummy) | 2 | 4); + if(ret < 0) + goto cancel_iso; + xorriso->run_state= 1; /* Indicate that burning has started */ isoburn_disc_write(burn_options, disc); burn_write_opts_free(burn_options); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 156cf978..eb18dd9c 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.03.21.113720" +#define Xorriso_timestamP "2011.03.21.113858"