blob: 56c85c7733556540798aef2ff8ae34e78dacb9b3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From adb6bfd0feeceaf030df0debe3343d7f73e708a0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:27:45 +0300
4Subject: [PATCH 4/5] The lutimes function doesn't work properly for all
5 systems.
6
7Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
8
9Upstream-Status: Inappropriate [embedded specific]
10---
11 src/archives.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/src/archives.c b/src/archives.c
15index bff5f14..b711013 100644
16--- a/src/archives.c
17+++ b/src/archives.c
18@@ -449,8 +449,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
19
20 if (te->type == TAR_FILETYPE_SYMLINK) {
21 #ifdef HAVE_LUTIMES
22- if (lutimes(path, tv) && errno != ENOSYS)
23+/* if (lutimes(path, tv) && errno != ENOSYS)
24 ohshite(_("error setting timestamps of '%.255s'"), path);
25+*/
26 #endif
27 } else {
28 if (utimes(path, tv))
29--
302.1.4
31