rhash/fix-reading-a-file-list-from-stdin.patch
2023-10-31 21:47:09 +08:00

26 lines
684 B
Diff

From d10d941db89d919f3963f8dc9c0113b3d0e40854 Mon Sep 17 00:00:00 2001
From: Aleksey <rhash.admin@gmail.com>
Date: Fri, 17 Jul 2020 07:06:33 +0300
Subject: [PATCH] fix reading a file-list from stdin
---
find_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/find_file.c b/find_file.c
index 00c7c9a..927a8a8 100644
--- a/find_file.c
+++ b/find_file.c
@@ -80,7 +80,7 @@ void file_search_add_file(file_search_data* data, tstr_t path, unsigned file_mod
}
if (IS_DASH_TSTR(path))
{
- file_search_add_special_file(data, (FileIsRoot | FileIsStdin), NULL);
+ file_search_add_special_file(data, (file_mode | FileIsStdin), NULL);
return;
}
--
2.27.0