SOURCES: tar-futimens.patch (NEW) - rename internal futimens to ta...
sparky
sparky at pld-linux.org
Fri May 18 19:52:03 CEST 2007
Author: sparky Date: Fri May 18 17:52:03 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- rename internal futimens to tar_futimens
---- Files affected:
SOURCES:
tar-futimens.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/tar-futimens.patch
diff -u /dev/null SOURCES/tar-futimens.patch:1.1
--- /dev/null Fri May 18 19:52:03 2007
+++ SOURCES/tar-futimens.patch Fri May 18 19:51:58 2007
@@ -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. */
================================================================
More information about the pld-cvs-commit
mailing list