X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwin32_apply.c;h=ffee267c61bfdee2b4e8a9ae4289129e28ce23da;hp=120ec210a6e4c94efdc4d0f2d55c02848c93e247;hb=d55cda59032e0abe5f71cd6f16ade943d2713fee;hpb=694f1955dc495b72a3232bf870e9839bdeb9bff9 diff --git a/src/win32_apply.c b/src/win32_apply.c index 120ec210..ffee267c 100644 --- a/src/win32_apply.c +++ b/src/win32_apply.c @@ -1235,6 +1235,7 @@ win32_do_apply_dentry(const wchar_t *output_path, !(args->vol_flags & FILE_SUPPORTS_REPARSE_POINTS)) { WARNING("Not extracting reparse point \"%ls\"", output_path); + dentry->not_extracted = 1; } else { /* Create the file, directory, or reparse point, and extract the * data streams. */ @@ -1277,13 +1278,6 @@ win32_do_apply_dentry_timestamps(const wchar_t *path, HANDLE h; const struct wim_inode *inode = dentry->d_inode; - if (inode->i_attributes & FILE_ATTRIBUTE_REPARSE_POINT && - !(args->vol_flags & FILE_SUPPORTS_REPARSE_POINTS)) - { - /* Skip reparse points not extracted */ - return 0; - } - /* Windows doesn't let you change the timestamps of the root directory * (at least on FAT, which is dumb but expected since FAT doesn't store * any metadata about the root directory...) */