wimcapture, wimappend: opt in to open by file ID
authorEric Biggers <ebiggers3@gmail.com>
Sun, 17 Jan 2016 23:06:13 +0000 (17:06 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 17 Jan 2016 23:09:20 +0000 (17:09 -0600)
programs/imagex.c

index cc8d0e2..48e7d31 100644 (file)
@@ -1832,7 +1832,8 @@ imagex_capture_or_append(int argc, tchar **argv, int cmd)
        int open_flags = 0;
        int add_flags = WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE |
                        WIMLIB_ADD_FLAG_WINCONFIG |
-                       WIMLIB_ADD_FLAG_VERBOSE;
+                       WIMLIB_ADD_FLAG_VERBOSE |
+                       WIMLIB_ADD_FLAG_FILE_PATHS_UNNEEDED;
        int write_flags = 0;
        int compression_type = WIMLIB_COMPRESSION_TYPE_INVALID;
        uint32_t chunk_size = UINT32_MAX;