Made use of new API call isoburn_set_truncate

This commit is contained in:
Thomas Schmitt 2011-03-21 11:38:42 +00:00
parent 7aaf97653e
commit 9e3963203c
2 changed files with 6 additions and 1 deletions

View File

@ -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 */ /* Important: do not return until burn_is_aborting() was checked */
Xorriso_set_signal_handling(xorriso, 1); 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 */ xorriso->run_state= 1; /* Indicate that burning has started */
isoburn_disc_write(burn_options, disc); isoburn_disc_write(burn_options, disc);
burn_write_opts_free(burn_options); burn_write_opts_free(burn_options);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.03.21.113720" #define Xorriso_timestamP "2011.03.21.113858"