win32_check_vol_flags(): Fix missing_features calculation
authorEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 05:29:38 +0000 (00:29 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 05:29:38 +0000 (00:29 -0500)
src/win32_apply.c

index dcec1c5d558e5a181bdf701dc1b90cbc930f3846..cc466b19826f8630f9368f9ff71d16c175ae2087 100644 (file)
@@ -1089,7 +1089,7 @@ win32_check_vol_flags(const wchar_t *output_path,
        win32_get_vol_flags(output_path, &args->vol_flags);
        args->have_vol_flags = true;
 
-       missing_features = dentry_features args->vol_flags;
+       missing_features = dentry_features & ~args->vol_flags;
 
        /* Warn the user about data that may not be extracted. */
        if (missing_features & FILE_SUPPORTS_SPARSE_FILES)