]> Dogcows Code - chaz/tar/blobdiff - src/extract.c
(dump_file0): Use sys_stat_nanoseconds().
[chaz/tar] / src / extract.c
index 1731b3a8237e976af3c085dbbedac8d4a4438774..84e4ecdd733f84579b1d7524676894adb526653d 100644 (file)
@@ -601,6 +601,11 @@ extract_archive (void)
   /* Extract the archive entry according to its type.  */
 
   typeflag = current_header->header.typeflag;
+  /*KLUDGE */
+  if (current_format == POSIX_FORMAT
+      && current_stat_info.archive_file_size != current_stat_info.stat.st_size)
+         typeflag = GNUTYPE_SPARSE;
+  
   switch (typeflag)
     {
     case GNUTYPE_SPARSE:
This page took 0.023182 seconds and 4 git commands to generate.