Explorar o código

Fixed initialization of stat_info->is_sparse

Sergey Poznyakoff %!s(int64=21) %!d(string=hai) anos
pai
achega
001e5cf813
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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