]> git.pld-linux.org Git - packages/tar.git/commitdiff
- rename internal futimens to tar_futimens
authorsparky <sparky@pld-linux.org>
Fri, 18 May 2007 17:51:58 +0000 (17:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tar-futimens.patch -> 1.1

tar-futimens.patch [new file with mode: 0644]

diff --git a/tar-futimens.patch b/tar-futimens.patch
new file mode 100644 (file)
index 0000000..68f2137
--- /dev/null
@@ -0,0 +1,39 @@
+diff -Nur tar-1.16.1.orig/lib/utimens.c tar-1.16.1.futimens/lib/utimens.c
+--- tar-1.16.1.orig/lib/utimens.c      2006-09-27 11:06:57.000000000 +0300
++++ tar-1.16.1.futimens/lib/utimens.c  2007-05-18 20:50:32.000000000 +0300
+@@ -73,7 +73,7 @@
+    Return 0 on success, -1 (setting errno) on failure.  */
+ int
+-futimens (int fd ATTRIBUTE_UNUSED,
++tar_futimens (int fd ATTRIBUTE_UNUSED,
+         char const *file, struct timespec const timespec[2])
+ {
+   /* There's currently no interface to set file timestamps with
+@@ -166,5 +166,5 @@
+ int
+ utimens (char const *file, struct timespec const timespec[2])
+ {
+-  return futimens (-1, file, timespec);
++  return tar_futimens (-1, file, timespec);
+ }
+diff -Nur tar-1.16.1.orig/lib/utimens.h tar-1.16.1.futimens/lib/utimens.h
+--- tar-1.16.1.orig/lib/utimens.h      2004-11-23 22:59:50.000000000 +0200
++++ tar-1.16.1.futimens/lib/utimens.h  2007-05-18 20:50:32.000000000 +0300
+@@ -1,3 +1,3 @@
+ #include "timespec.h"
+-int futimens (int, char const *, struct timespec const [2]);
++int tar_futimens (int, char const *, struct timespec const [2]);
+ int utimens (char const *, struct timespec const [2]);
+diff -Nur tar-1.16.1.orig/src/misc.c tar-1.16.1.futimens/src/misc.c
+--- tar-1.16.1.orig/src/misc.c 2006-07-03 12:17:21.000000000 +0300
++++ tar-1.16.1.futimens/src/misc.c     2007-05-18 20:50:32.000000000 +0300
+@@ -518,7 +518,7 @@
+     }
+ #endif
+-  return futimens (fd, file, timespec);
++  return tar_futimens (fd, file, timespec);
+ }
+ /* A description of a working directory.  */
This page took 0.033047 seconds and 4 git commands to generate.