Made a final abort check before burning begins
This commit is contained in:
parent
4fa28039b0
commit
b41d350fd6
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.02.14.101916"
|
||||
#define Xorriso_timestamP "2008.02.14.120557"
|
||||
|
@ -775,9 +775,9 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
if(xorriso->patch_isolinux_image) {
|
||||
if(ret==1) {
|
||||
relax|= isoburn_igopt_allow_full_ascii;
|
||||
el_torito_patch_isolinux_image(bootimg);
|
||||
sprintf(xorriso->info_text, "Patched alleged isolinux boot image");
|
||||
sprintf(xorriso->info_text, "Patching alleged isolinux boot image");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
el_torito_patch_isolinux_image(bootimg);
|
||||
} else {
|
||||
sprintf(xorriso->info_text,
|
||||
"Could not find any boot image for -boot_image isolinux patch");
|
||||
@ -830,6 +830,10 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
sopts.fifo_size= xorriso->fs * 2048;
|
||||
#endif /* NIX */
|
||||
|
||||
/* Make final abort check before starting expensive activities */
|
||||
ret= Xorriso_eval_problem_status(xorriso, 1, 0);
|
||||
if(ret<0)
|
||||
{ret= 0; goto ex;}
|
||||
Xorriso_set_abort_severity(xorriso, 1);
|
||||
if(xorriso->out_drive_handle == xorriso->in_drive_handle ||
|
||||
xorriso->in_drive_handle == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user