X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwrite.c;h=3895088ee2c408e5d990a073512100f3bb0bc309;hp=d2bc3734582aab851abcebbe252d82c40e047637;hb=6c7b1783191ffe324953aad63735843feda9f901;hpb=2057dd2fcc73340526a2c5a93d16c296fc20e064 diff --git a/src/write.c b/src/write.c index d2bc3734..3895088e 100644 --- a/src/write.c +++ b/src/write.c @@ -176,6 +176,9 @@ can_raw_copy(const struct wim_lookup_table_entry *lte, rspec->wim->chunk_size == out_chunk_size); } + /* XXX: For compatibility, we can't allow multiple packed resources per + * WIM. */ +#if 0 if ((rspec->flags & WIM_RESHDR_FLAG_PACKED_STREAMS) && (write_resource_flags & WRITE_RESOURCE_FLAG_PACK_STREAMS)) { @@ -198,6 +201,8 @@ can_raw_copy(const struct wim_lookup_table_entry *lte, return (write_size > rspec->uncompressed_size / 2); } +#endif + return false; }