Provisorily banned the combination of -hfsplus and ISO image growing

This commit is contained in:
Thomas Schmitt 2012-06-15 08:56:38 +00:00
parent 6503d580ca
commit 26f4c5aa6c
2 changed files with 13 additions and 1 deletions

View File

@ -652,6 +652,18 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
}
s= isoburn_disc_get_status(drive);
if (xorriso->do_hfsplus && (
(xorriso->grow_blindly_msc2 >= 0 &&
xorriso->out_drive_handle != xorriso->in_drive_handle)
||
(xorriso->out_drive_handle == xorriso->in_drive_handle &&
s != BURN_DISC_BLANK)
)) {
sprintf(xorriso->info_text,
"May not grow ISO image while -hfsplus is enabled");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
if(xorriso->out_drive_handle == xorriso->in_drive_handle) {
if(abs(xorriso->displacement_sign) == 1 && xorriso->displacement != 0 &&
s != BURN_DISC_BLANK) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.06.14.142958"
#define Xorriso_timestamP "2012.06.15.085732"