summaryrefslogtreecommitdiff
path: root/user/encfs/utimensat.patch
blob: 93c5378e18982f9c94377a0a1f1b4bee2a3c95de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 3d060783eea3790b8d6ea9920db8a0dc6e73d184 Mon Sep 17 00:00:00 2001
From: Russell Yanofsky <russ@yanofsky.org>
Date: Sun, 16 Sep 2018 15:41:11 -0400
Subject: [PATCH] Fix setting nanosecond times

utimensat function was never being called due to missing cmake define
---
 config.h.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.h.cmake b/config.h.cmake
index 8548d706..32ddf2bb 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -6,6 +6,7 @@
 #cmakedefine XATTR_LLIST
 
 #cmakedefine HAVE_LCHMOD
+#cmakedefine HAVE_UTIMENSAT
 #cmakedefine HAVE_FDATASYNC
 
 #cmakedefine HAVE_DIRENT_D_TYPE