From: Ingo Weinhold Date: Sat, 30 Mar 2013 15:40:08 +0000 (+0000) Subject: Use futimens() instead of futimes() X-Git-Tag: BASE-SuSE-Code-12_3-Branch~72^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e4cea429d2a0e8817405320239ee9275c26fabb;p=thirdparty%2Flibsolv.git Use futimens() instead of futimes() futimens() is POSIX, futimes() isn't. --- diff --git a/examples/solv.c b/examples/solv.c index 6bfacea0..eea621da 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; }