44 lines
1.1 KiB
Diff
44 lines
1.1 KiB
Diff
From 0eba12257e417c321ef50b48f2ce7081fdd278e3 Mon Sep 17 00:00:00 2001
|
|
From: Aleksey <rhash.admin@gmail.com>
|
|
Date: Sun, 22 Nov 2020 19:16:46 +0300
|
|
Subject: [PATCH] fix '%{mtime}' when --file-list is specified
|
|
|
|
---
|
|
ChangeLog | 9 +++++++++
|
|
file.c | 2 +-
|
|
2 files changed, 10 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/ChangeLog b/ChangeLog
|
|
index 090a290..5ccfa5e 100644
|
|
--- a/ChangeLog
|
|
+++ b/ChangeLog
|
|
@@ -1,3 +1,12 @@
|
|
+Sun 22 Nov 2020 Aleksey
|
|
+ * Bugfix: print correct '%{mtime}' when --file-list is specified
|
|
+
|
|
+Sat 29 Aug 2020 Theodore Ts'o
|
|
+ * Bugfix: only follow symbolic links when --follow is specified
|
|
+
|
|
+Wed 22 Jul 2020 Aleksey
|
|
+ * Bugfix: fix buffer overflow in GOST12
|
|
+
|
|
Tue 14 Jul 2020 Aleksey
|
|
* === Version 1.4.0 ===
|
|
|
|
diff --git a/file.c b/file.c
|
|
index 7c8b346..43821d2 100644
|
|
--- a/file.c
|
|
+++ b/file.c
|
|
@@ -884,7 +884,7 @@ int file_list_read(file_list_t* list)
|
|
if (*line == '\0')
|
|
continue; /* skip empty lines */
|
|
file_init_by_print_path(&list->current_file, NULL, line,
|
|
- (list->state & FileInitUtf8PrintPath));
|
|
+ (list->state & FileInitUtf8PrintPath) | FileInitRunFstat);
|
|
return 1;
|
|
}
|
|
return 0;
|
|
--
|
|
2.42.0.windows.2
|
|
|