Bug fix: -outdev holding an ISO filesystem could get attached wrong start LBA
This commit is contained in:
parent
e6e93a9803
commit
d24634af3d
@ -602,7 +602,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
|
|||||||
{ret= -1; goto ex;}
|
{ret= -1; goto ex;}
|
||||||
}
|
}
|
||||||
if(start_lba >= 0)
|
if(start_lba >= 0)
|
||||||
isoburn_attach_start_lba(drive, lba, 0);
|
isoburn_attach_start_lba(drive, start_lba, 0);
|
||||||
}
|
}
|
||||||
if(!(flag&32))
|
if(!(flag&32))
|
||||||
Xorriso_toc(xorriso, 1 | 2 | 8);
|
Xorriso_toc(xorriso, 1 | 2 | 8);
|
||||||
@ -712,7 +712,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
|
|||||||
iso_image_ref((IsoImage *) xorriso->in_volset_handle);
|
iso_image_ref((IsoImage *) xorriso->in_volset_handle);
|
||||||
isoburn_attach_image(out_drive, xorriso->in_volset_handle);
|
isoburn_attach_image(out_drive, xorriso->in_volset_handle);
|
||||||
if(start_lba >= 0)
|
if(start_lba >= 0)
|
||||||
isoburn_attach_start_lba(out_drive, ret, 0);
|
isoburn_attach_start_lba(out_drive, start_lba, 0);
|
||||||
}
|
}
|
||||||
Xorriso_process_msg_queues(xorriso,0);
|
Xorriso_process_msg_queues(xorriso,0);
|
||||||
isoburn_ropt_get_size_what(ropts, &size, &has_what);
|
isoburn_ropt_get_size_what(ropts, &size, &has_what);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2024.03.18.214311"
|
#define Xorriso_timestamP "2024.03.19.090146"
|
||||||
|
Loading…
Reference in New Issue
Block a user