Avoiding a futile re-try when ending after a failed session write attempt

This commit is contained in:
Thomas Schmitt 2013-08-27 09:54:13 +00:00
parent 4ebc0f3e9b
commit 1656551a6d
3 changed files with 7 additions and 2 deletions

View File

@ -1194,6 +1194,8 @@ ex:;
/* >>> ??? revive discarded boot image */; /* >>> ??? revive discarded boot image */;
/* suppress automatic -commit at program end */
xorriso->volset_change_pending= 3;
} }
if(disc!=NULL) if(disc!=NULL)
burn_disc_free(disc); burn_disc_free(disc);

View File

@ -309,9 +309,12 @@ struct XorrisO { /* the global context of xorriso */
loaded image. */ loaded image. */
int volset_change_pending; /* whether -commit would make sense int volset_change_pending; /* whether -commit would make sense
0= no change pending , 1= change pending 0= no change pending
1= change pending
2= change pending, but -as misofs -print-size 2= change pending, but -as misofs -print-size
was performed on the changed image model was performed on the changed image model
3= change pending, but the attempt to write it
failed
*/ */
int no_volset_present; /* set to 1 on first failure */ int no_volset_present; /* set to 1 on first failure */

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.08.20.144306" #define Xorriso_timestamP "2013.08.27.095314"