Explorar el Código

(diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE.

Sergey Poznyakoff hace 21 años
padre
commit
be48ff0699
Se han modificado 1 ficheros con 1 adiciones y 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
 	{