diff options
author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-03-30 15:40:08 +0000 |
---|---|---|
committer | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-03-30 15:51:21 +0000 |
commit | 4e4cea429d2a0e8817405320239ee9275c26fabb (patch) | |
tree | 703ae51e1637c51c0385fef027cb85cbd263b8e7 /examples | |
parent | f063fd2aa8a13f1045b5638e9b0258a70f8cd368 (diff) | |
download | libsolv-4e4cea429d2a0e8817405320239ee9275c26fabb.tar.gz libsolv-4e4cea429d2a0e8817405320239ee9275c26fabb.tar.bz2 libsolv-4e4cea429d2a0e8817405320239ee9275c26fabb.zip |
Use futimens() instead of futimes()
futimens() is POSIX, futimes() isn't.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/solv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |