瀏覽代碼

(struct tar_stat_info.sparse_major,sparse_minor): New members

Sergey Poznyakoff 19 年之前
父節點
當前提交
5679d3020e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/tar.h

+ 2 - 0
src/tar.h

@@ -295,6 +295,8 @@ struct tar_stat_info
   bool   is_sparse;         /* Is the file sparse */
 
   /* For sparse files: */
+  unsigned sparse_major;
+  unsigned sparse_minor;
   size_t sparse_map_avail;  /* Index to the first unused element in
 			       sparse_map array. Zero if the file is
 			       not sparse */