]> Dogcows Code - chaz/tar/blobdiff - src/compare.c
Don't filter time stamps through the resolution supported
[chaz/tar] / src / compare.c
index 98a953bf403aa524ead280729c106f1379fd1e35..02240aa3bf953797e926ce920e181b1e888b8b4b 100644 (file)
@@ -224,7 +224,7 @@ diff_file (void)
       if (!sys_compare_gid (&stat_data, &current_stat_info.stat))
        report_difference (&current_stat_info, _("Gid differs"));
 
-      if (stat_data.st_mtime != current_stat_info.stat.st_mtime)
+      if (timespec_cmp (get_stat_mtime (&stat_data), current_stat_info.mtime))
        report_difference (&current_stat_info, _("Mod time differs"));
       if (current_header->header.typeflag != GNUTYPE_SPARSE &&
          stat_data.st_size != current_stat_info.stat.st_size)
This page took 0.021574 seconds and 4 git commands to generate.