Sfoglia il codice sorgente

Fixed initialization of stat_info->is_sparse

Sergey Poznyakoff 20 anni fa
parent
commit
001e5cf813
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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