]> wimlib.net Git - wimlib/blobdiff - src/extract.c
extract.c: Fix short name reordering
[wimlib] / src / extract.c
index 6f49c67526183dfd6c26856a8323e42f1e32658b..2e285f540aea90b815c52d5e95db786af027e1e0 100644 (file)
@@ -1147,7 +1147,8 @@ dentry_extract_skeleton(struct wim_dentry *dentry, void *_ctx)
                inode_for_each_dentry(other_dentry, dentry->d_inode) {
                        if (dentry_has_short_name(other_dentry)
                            && !other_dentry->skeleton_extracted
-                           && other_dentry->in_extraction_tree)
+                           && other_dentry->in_extraction_tree
+                           && !other_dentry->extraction_skipped)
                        {
                                DEBUG("Creating %"TS" before %"TS" "
                                      "to guarantee correct DOS name extraction",