浏览代码

(dump_file): Call update_parent_directory.

Sergey Poznyakoff 19 年之前
父节点
当前提交
b100f6ae5b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/create.c

+ 2 - 0
src/create.c

@@ -1622,5 +1622,7 @@ dump_file (char *p, int top_level, dev_t parent_device)
   struct tar_stat_info st;
   tar_stat_init (&st);
   dump_file0 (&st, p, top_level, parent_device);
+  if (listed_incremental_option)
+    update_parent_directory (p);
   tar_stat_destroy (&st);
 }