X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Futimens.c;h=7e3175a49516043c3e0e417a4e30fe1b6ebe99ca;hb=4228bc8a5ec1846f6a12c81a46e3dd864e027196;hp=8f4273c80876bf8216ccd77a60769948a906556d;hpb=e7641b56ab300ed94ec035922b762d78f99bcbd6;p=gnulib.git diff --git a/lib/utimens.c b/lib/utimens.c index 8f4273c80..7e3175a49 100644 --- a/lib/utimens.c +++ b/lib/utimens.c @@ -1,6 +1,7 @@ /* Set file access and modification times. - Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -26,6 +27,7 @@ #include #include +#include #include #if HAVE_UTIME_H @@ -73,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 @@ -183,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); }