blob: 4d3f6d8f945f111bcfb826db8b473c243814f460 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Subject: utime fix
This was apparently fixed upstream already.
Index: glibc-2.31/sysdeps/unix/sysv/linux/utime.c
===================================================================
--- glibc-2.31.orig/sysdeps/unix/sysv/linux/utime.c
+++ glibc-2.31/sysdeps/unix/sysv/linux/utime.c
@@ -18,6 +18,7 @@
#include <utime.h>
#include <time.h>
+#include <fcntl.h>
int
__utime64 (const char *file, const struct __utimbuf64 *times)
@@ -32,7 +33,7 @@ __utime64 (const char *file, const struc
ts64[1].tv_nsec = 0LL;
}
- return __utimensat64_helper (0, file, times ? ts64 : NULL, 0);
+ return __utimensat64_helper (AT_FDCWD, file, times ? ts64 : NULL, 0);
}
#if __TIMESIZE != 64
|