From 4228bc8a5ec1846f6a12c81a46e3dd864e027196 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 19 May 2007 16:37:03 +0000 Subject: [PATCH] * lib/utimens.c (gl_futimens): Rename from futimens, now that glibc-2.6 declares futimens. --- ChangeLog | 5 +++++ lib/utimens.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7fa76d1a5..b36cd2ba6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-19 Jim Meyering + + * lib/utimens.c (gl_futimens): Rename from futimens, + now that glibc-2.6 declares futimens. + 2007-05-19 Bruno Haible Avoid test failures on mingw. diff --git a/lib/utimens.c b/lib/utimens.c index 71bc510d8..7e3175a49 100644 --- a/lib/utimens.c +++ b/lib/utimens.c @@ -75,8 +75,8 @@ struct utimbuf Return 0 on success, -1 (setting errno) on failure. */ int -futimens (int fd ATTRIBUTE_UNUSED, - char const *file, struct timespec const timespec[2]) +gl_futimens (int fd ATTRIBUTE_UNUSED, + char const *file, struct timespec const timespec[2]) { /* Some Linux-based NFS clients are buggy, and mishandle time stamps of files in NFS file systems in some cases. We have no @@ -185,5 +185,5 @@ futimens (int fd ATTRIBUTE_UNUSED, int utimens (char const *file, struct timespec const timespec[2]) { - return futimens (-1, file, timespec); + return gl_futimens (-1, file, timespec); } -- 2.11.0