X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fextract.c;h=fbb93edd8a85a864feaadd85807841e7faed9e96;hb=737b0251de867074882619e7304be721749fcfd9;hp=2689f547684a317574927089cb6069f9fc770376;hpb=c641a16cba34ec0b0f1fb41dcdd7a27c9b760a83;p=chaz%2Ftar diff --git a/src/extract.c b/src/extract.c index 2689f54..fbb93ed 100644 --- a/src/extract.c +++ b/src/extract.c @@ -469,7 +469,7 @@ file_newer_p (const char *file_name, struct tar_stat_info *tar_stat) return errno != ENOENT; } if (!S_ISDIR (st.st_mode) - && timespec_cmp (tar_stat->mtime, get_stat_mtime (&st)) <= 0) + && tar_timespec_cmp (tar_stat->mtime, get_stat_mtime (&st)) <= 0) { return true; }