diff options
Diffstat (limited to 'meta/packages/coreutils/coreutils-5.3.0/futimens.patch')
-rw-r--r-- | meta/packages/coreutils/coreutils-5.3.0/futimens.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/packages/coreutils/coreutils-5.3.0/futimens.patch b/meta/packages/coreutils/coreutils-5.3.0/futimens.patch deleted file mode 100644 index 3cb2b6ab32..0000000000 --- a/meta/packages/coreutils/coreutils-5.3.0/futimens.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | Index: coreutils-5.3.0/lib/utimens.c | ||
2 | =================================================================== | ||
3 | --- coreutils-5.3.0.orig/lib/utimens.c 2005-01-03 22:19:15.000000000 +0000 | ||
4 | +++ coreutils-5.3.0/lib/utimens.c 2007-07-01 19:12:32.000000000 +0000 | ||
5 | @@ -55,8 +55,8 @@ | ||
6 | If TIMESPEC is null, set the time stamps to the current time. */ | ||
7 | |||
8 | int | ||
9 | -futimens (int fd ATTRIBUTE_UNUSED, | ||
10 | - char const *file, struct timespec const timespec[2]) | ||
11 | +gl_futimens (int fd ATTRIBUTE_UNUSED, | ||
12 | + char const *file, struct timespec const timespec[2]) | ||
13 | { | ||
14 | /* There's currently no interface to set file timestamps with | ||
15 | nanosecond resolution, so do the best we can, discarding any | ||
16 | @@ -117,5 +117,5 @@ | ||
17 | int | ||
18 | utimens (char const *file, struct timespec const timespec[2]) | ||
19 | { | ||
20 | - return futimens (-1, file, timespec); | ||
21 | + return gl_futimens (-1, file, timespec); | ||
22 | } | ||
23 | Index: coreutils-5.3.0/lib/utimens.h | ||
24 | =================================================================== | ||
25 | --- coreutils-5.3.0.orig/lib/utimens.h 2004-11-23 20:54:33.000000000 +0000 | ||
26 | +++ coreutils-5.3.0/lib/utimens.h 2007-07-01 19:12:37.000000000 +0000 | ||
27 | @@ -1,3 +1,3 @@ | ||
28 | #include "timespec.h" | ||
29 | -int futimens (int, char const *, struct timespec const [2]); | ||
30 | +int gl_futimens (int, char const *, struct timespec const [2]); | ||
31 | int utimens (char const *, struct timespec const [2]); | ||
32 | Index: coreutils-5.3.0/src/touch.c | ||
33 | =================================================================== | ||
34 | --- coreutils-5.3.0.orig/src/touch.c 2004-11-23 20:54:35.000000000 +0000 | ||
35 | +++ coreutils-5.3.0/src/touch.c 2007-07-01 19:11:52.000000000 +0000 | ||
36 | @@ -191,7 +191,7 @@ | ||
37 | t = timespec; | ||
38 | } | ||
39 | |||
40 | - ok = (futimens (fd, file, t) == 0); | ||
41 | + ok = (gl_futimens (fd, file, t) == 0); | ||
42 | if (fd != -1) | ||
43 | ok &= (close (fd) == 0); | ||
44 | |||