From: Ingo Weinhold Date: Sat, 30 Mar 2013 15:40:08 +0000 (+0000) Subject: Use futimens() instead of futimes() X-Git-Tag: upstream/0.4.0~219^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e4cea429d2a0e8817405320239ee9275c26fabb;p=platform%2Fupstream%2Flibsolv.git Use futimens() instead of futimes() futimens() is POSIX, futimes() isn't. --- diff --git a/examples/solv.c b/examples/solv.c index 6bfacea..eea621d 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -1145,7 +1145,7 @@ usecachedrepo(Repo *repo, const char *repoext, unsigned char *cookie, int mark) memcpy(cinfo->extcookie, myextcookie, sizeof(myextcookie)); } if (mark) - futimes(fileno(fp), 0); /* try to set modification time */ + futimens(fileno(fp), 0); /* try to set modification time */ fclose(fp); return 1; }