For wimcapture, wimoptimize, and wimexport, '--solid' may now be used as
an alias for '--pack-streams'.
+ The default chunk size is now set correctly when changing the
+ compression type of a WIM (this bug caused 'wimoptimize' to fail when
+ changing the compression type from None to LZX with no chunk size
+ explicitly specified, for example).
+
Version 1.6.0:
Support for extracting and updating the new version 3584 WIMs has been
added. These WIMs typically pack many streams ("files") together into a
return ret;
/* Reset the chunk size if it's no longer valid. */
- if (!wim_chunk_size_valid(ctype, wim->out_chunk_size))
+ if (!wim_chunk_size_valid(wim->out_chunk_size, ctype))
wim->out_chunk_size = wim_default_chunk_size(ctype);
return 0;
}
return ret;
/* Reset the chunk size if it's no longer valid. */
- if (!wim_chunk_size_valid(ctype, wim->out_pack_chunk_size))
+ if (!wim_chunk_size_valid(wim->out_pack_chunk_size, ctype))
wim->out_pack_chunk_size = wim_default_pack_chunk_size(ctype);
return 0;
}