fix reading a file-list from stdin
This commit is contained in:
parent
645ee5be94
commit
dc75710e62
25
fix-reading-a-file-list-from-stdin.patch
Normal file
25
fix-reading-a-file-list-from-stdin.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: rhash
|
Name: rhash
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Great utility for computing hash sums
|
Summary: Great utility for computing hash sums
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/rhash/RHash
|
URL: https://github.com/rhash/RHash
|
||||||
Source0: https://github.com/rhash/RHash/archive/v%{version}/rhash-%{version}.tar.gz
|
Source0: https://github.com/rhash/RHash/archive/v%{version}/rhash-%{version}.tar.gz
|
||||||
|
Patch0: fix-reading-a-file-list-from-stdin.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
@ -63,6 +64,9 @@ make test-shared
|
|||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 24 2023 fandehui <fandehui@xfusion.com> - 1.4.0-3
|
||||||
|
- fix reading a file-list from stdin
|
||||||
|
|
||||||
* Thu Apr 8 2021 shenyangyang <shenyangyang4@huawei.com> - 1.4.0-2
|
* Thu Apr 8 2021 shenyangyang <shenyangyang4@huawei.com> - 1.4.0-2
|
||||||
- Delete unneeded build requires
|
- Delete unneeded build requires
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user