summaryrefslogtreecommitdiffstats
path: root/src/setdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setdate.c')
-rw-r--r--src/setdate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setdate.c b/src/setdate.c
index d05e716..5e26e1a 100644
--- a/src/setdate.c
+++ b/src/setdate.c
@@ -49,10 +49,12 @@ int set_date(const char *pathname, time_t actime, time_t modtime)
return -1;
ut.actime = actime;
ut.modtime = modtime;
+#ifndef __FRAMAC__
if (utime(pathname, &ut)) {
log_error("ERROR: Couldn't set the file's date and time for %s\n", pathname);
return -1;
}
#endif
+#endif
return 0;
}