Applying -dummy mode explicitely to superblock relocation

This commit is contained in:
Thomas Schmitt 2016-11-18 18:37:28 +01:00
parent fb7da95452
commit 3da2ac249f
3 changed files with 4 additions and 3 deletions

View File

@ -249,7 +249,7 @@ void isoburn_version(int *major, int *minor, int *micro);
*/
#define isoburn_libisofs_req_major 1
#define isoburn_libisofs_req_minor 4
#define isoburn_libisofs_req_micro 6
#define isoburn_libisofs_req_micro 7
/** The minimum version of libburn to be used with this version of libisoburn
at compile time.
@ -257,7 +257,7 @@ void isoburn_version(int *major, int *minor, int *micro);
*/
#define isoburn_libburn_req_major 1
#define isoburn_libburn_req_minor 4
#define isoburn_libburn_req_micro 6
#define isoburn_libburn_req_micro 7
/** The minimum compile time requirements of libisoburn towards libjte are
the same as of a suitable libisofs towards libjte.

View File

@ -2982,6 +2982,7 @@ int Xorriso_update_iso_lba0(struct XorrisO *xorriso, int iso_lba, int isosize,
} else {
/* This is a regular superblock relocation. Write full 64 kB. */
to_write= 64 * 1024;
burn_drive_reset_simulate(drive, xorriso->do_dummy);
ret= burn_random_access_write(drive, (off_t) 0, head_buffer, to_write, 1);
if(ret<=0) {
Xorriso_process_msg_queues(xorriso,0);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2016.11.13.101258"
#define Xorriso_timestamP "2016.11.18.173658"