1 http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00089.html
3 2007-05-19 Jim Meyering <jim@meyering.net>
5 * lib/utimens.c (gl_futimens): Rename from futimens,
6 now that glibc-2.6 declares futimens.
7 * lib/utimens.h: Likewise.
9 diff --git a/lib/utimens.c b/lib/utimens.c
10 index 71bc510..7e3175a 100644
13 @@ -75,8 +75,8 @@ struct utimbuf
14 Return 0 on success, -1 (setting errno) on failure. */
17 -futimens (int fd ATTRIBUTE_UNUSED,
18 - char const *file, struct timespec const timespec[2])
19 +gl_futimens (int fd ATTRIBUTE_UNUSED,
20 + char const *file, struct timespec const timespec[2])
22 /* Some Linux-based NFS clients are buggy, and mishandle time stamps
23 of files in NFS file systems in some cases. We have no
24 @@ -185,5 +185,5 @@ futimens (int fd ATTRIBUTE_UNUSED,
26 utimens (char const *file, struct timespec const timespec[2])
28 - return futimens (-1, file, timespec);
29 + return gl_futimens (-1, file, timespec);
31 diff --git a/lib/utimens.h b/lib/utimens.h
32 index 0097aaa..169521d 100644
37 -int futimens (int, char const *, struct timespec const [2]);
38 +int gl_futimens (int, char const *, struct timespec const [2]);
39 int utimens (char const *, struct timespec const [2]);