Browse Source

Fixed initialization of stat_info->is_sparse

Sergey Poznyakoff 20 years ago
parent
commit
001e5cf813
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/list.c

+ 2 - 0
src/list.c

@@ -597,6 +597,8 @@ decode_header (union block *header, struct tar_stat_info *stat_info,
       sparse_fixup_header (stat_info);
       stat_info->is_sparse = true;
     }
+  else
+    stat_info->is_sparse = false;
 }
 
 /* Convert buffer at WHERE0 of size DIGS from external format to