Explorar o código

(diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE.

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