Browse Source

(diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE.

Sergey Poznyakoff 21 years ago
parent
commit
be48ff0699
1 changed files with 1 additions and 1 deletions
  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
 	{