From de988664c349cc93d85e4ea559f1e9c2aa9d9fd1 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 18 Nov 2012 22:36:20 -0600 Subject: [PATCH] Set WIM_RESHDR_FLAG_METADATA on XML data --- src/write.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/write.c b/src/write.c index eed40df8..bc3d93c2 100644 --- a/src/write.c +++ b/src/write.c @@ -1680,10 +1680,10 @@ int finish_write(WIMStruct *w, int image, int write_flags) return WIMLIB_ERR_WRITE; xml_data_size = integrity_offset - xml_data_offset; - hdr.xml_res_entry.offset = xml_data_offset; - hdr.xml_res_entry.size = xml_data_size; - hdr.xml_res_entry.original_size = xml_data_size; - hdr.xml_res_entry.flags = 0; + hdr.xml_res_entry.offset = xml_data_offset; + hdr.xml_res_entry.size = xml_data_size; + hdr.xml_res_entry.original_size = xml_data_size; + hdr.xml_res_entry.flags = WIM_RESHDR_FLAG_METADATA; if (write_flags & WIMLIB_WRITE_FLAG_CHECK_INTEGRITY) { ret = write_integrity_table(out, WIM_HEADER_DISK_SIZE, -- 2.43.0