浏览代码

(struct tar_stat_info.dumpdir): New member.

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

+ 4 - 0
src/tar.h

@@ -292,11 +292,15 @@ struct tar_stat_info
 
 
   bool   is_sparse;         /* Is the file sparse */
   bool   is_sparse;         /* Is the file sparse */
 
 
+  /* For sparse files: */
   size_t sparse_map_avail;  /* Index to the first unused element in
   size_t sparse_map_avail;  /* Index to the first unused element in
 			       sparse_map array. Zero if the file is
 			       sparse_map array. Zero if the file is
 			       not sparse */
 			       not sparse */
   size_t sparse_map_size;   /* Size of the sparse map */
   size_t sparse_map_size;   /* Size of the sparse map */
   struct sp_array *sparse_map;
   struct sp_array *sparse_map;
+
+  /* For dumpdirs */
+  char *dumpdir;
 };
 };
 
 
 union block
 union block