Fix build error 73/54973/1
authorHurnjoo Lee <hurnjoo.lee@samsung.com>
Mon, 21 Dec 2015 05:44:04 +0000 (14:44 +0900)
committerHurnjoo Lee <hurnjoo.lee@samsung.com>
Mon, 21 Dec 2015 05:44:04 +0000 (14:44 +0900)
Change-Id: Ie49c38578e0381843f1fa2fd0fb82c639c4d41ed
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
gzip.c
lib/utimens.c
lib/utimens.h

diff --git a/gzip.c b/gzip.c
index ec2c5d27b6a12321941c9969c3aca939da8798b7..fc863f3f3631e471216c287acbb989902683eaf6 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -1637,7 +1637,7 @@ local void copy_stat(ifstat)
        }
       }
 
-    if (futimens (ofd, ofname, timespec) != 0)
+    if (futimens_gz (ofd, ofname, timespec) != 0)
       {
        int e = errno;
        WARN ((stderr, "%s: ", program_name));
index 71bc510d86bb57db59203877a55fdd25d45ab694..af7629f0ba75f16248e970971d920f9e486de368 100644 (file)
@@ -75,7 +75,7 @@ struct utimbuf
    Return 0 on success, -1 (setting errno) on failure.  */
 
 int
-futimens (int fd ATTRIBUTE_UNUSED,
+futimens_gz (int fd ATTRIBUTE_UNUSED,
          char const *file, struct timespec const timespec[2])
 {
   /* Some Linux-based NFS clients are buggy, and mishandle time stamps
@@ -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 futimens_gz (-1, file, timespec);
 }
index 0097aaaf7524d00906674963c7c1a7905e457a08..2fb80657ce3cd476ce246d98f9bb82353269141d 100644 (file)
@@ -1,3 +1,3 @@
 #include <time.h>
-int futimens (int, char const *, struct timespec const [2]);
+int futimens_gz (int, char const *, struct timespec const [2]);
 int utimens (char const *, struct timespec const [2]);