Mercurial > hg > octave-lyh > gnulib-hg
changeset 8842:7605663b153e
* lib/utimens.c (gl_futimens): Rename from futimens,
now that glibc-2.6 declares futimens.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 19 May 2007 16:37:03 +0000 |
parents | 6a8178e3452e |
children | dd750f34c273 |
files | ChangeLog lib/utimens.c |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-19 Jim Meyering <jim@meyering.net> + + * lib/utimens.c (gl_futimens): Rename from futimens, + now that glibc-2.6 declares futimens. + 2007-05-19 Bruno Haible <bruno@clisp.org> Avoid test failures on mingw.
--- a/lib/utimens.c +++ b/lib/utimens.c @@ -75,8 +75,8 @@ 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 @@ int utimens (char const *file, struct timespec const timespec[2]) { - return futimens (-1, file, timespec); + return gl_futimens (-1, file, timespec); }