From c641a16cba34ec0b0f1fb41dcdd7a27c9b760a83 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Nov 2005 21:25:47 +0000 Subject: [PATCH] (set_stat): Rewrite to avoid bug in Forte Developer 7 C 5.4 Patch 111708-09 (2004-02-19). --- src/extract.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/extract.c b/src/extract.c index d826371..2689f54 100644 --- a/src/extract.c +++ b/src/extract.c @@ -262,7 +262,10 @@ set_stat (char const *file_name, /* FIXME: incremental_option should set ctime too, but how? */ struct timespec ts[2]; - ts[0] = incremental_option ? st->atime : start_time; + if (incremental_option) + ts[0] = st->atime; + else + ts[0] = start_time; ts[1] = st->mtime; if (utimens (file_name, ts) != 0) -- 2.44.0