Made use of new API call isoburn_set_truncate

master
Thomas Schmitt 12 years ago
parent f211456214
commit e8800be3d2
  1. 5
      xorriso/write_run.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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);

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

Loading…
Cancel
Save