Przeglądaj źródła

(diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE.

Sergey Poznyakoff 21 lat temu
rodzic
commit
be48ff0699
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/compare.c

+ 1 - 1
src/compare.c

@@ -279,7 +279,7 @@ diff_archive (void)
 
       /* Need to treat sparse files completely differently here.  */
 
-      if (current_header->header.typeflag == GNUTYPE_SPARSE)
+      if (current_stat_info.is_sparse)
 	sparse_diff_file (diff_handle, &current_stat_info);
       else
 	{