Bug fix: Options bit0 of iso_write_opts_set_system_area() was not forwarded

to image production if no system area data were given.
         This prevented xorrisofs option --protective-msdos-label from working.
This commit is contained in:
Thomas Schmitt 2015-12-22 12:23:13 +01:00
parent b3701f0b18
commit c79299ba08
1 changed files with 1 additions and 1 deletions

View File

@ -2394,7 +2394,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *in_opts, Ecma119Image **img)
system_area = src->system_area_data;
system_area_options = src->system_area_options;
} else {
system_area_options = opts->system_area_options & 0xfffffffc;
system_area_options = opts->system_area_options & 0xfffffffd;
}
sa_type = (system_area_options >> 2) & 0x3f;
if (sa_type != 0 && sa_type != 3)