]> Dogcows Code - chaz/tar/blobdiff - src/compare.c
* src/tar.c (NS_PRECISION_FORMAT_MASK): New macro.
[chaz/tar] / src / compare.c
index 70d72513aaef6ea80e0e35ae99ba2002758f4e5c..0173363df18be998266ed6a3b906071096cac9f8 100644 (file)
@@ -224,7 +224,8 @@ diff_file (void)
       if (!sys_compare_gid (&stat_data, &current_stat_info.stat))
        report_difference (&current_stat_info, _("Gid differs"));
 
-      if (timespec_cmp (get_stat_mtime (&stat_data), current_stat_info.mtime))
+      if (tar_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.019922 seconds and 4 git commands to generate.