correcting errors in 0009-path_is_file-should-call-stat-not-lstat.patch
This commit is contained in:
parent
7fe59f3530
commit
efa87e05c9
@ -8,10 +8,10 @@ Subject: [PATCH 9/9] path_is_file() should call stat(), not lstat()
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/sysfs_utils.c b/lib/sysfs_utils.c
|
||||
index 4fa10f7..0257ffa 100644
|
||||
index 4fa10f7..4261eae 100644
|
||||
--- a/lib/sysfs_utils.c
|
||||
+++ b/lib/sysfs_utils.c
|
||||
@@ -293,7 +293,7 @@ int sysfs_path_is_link(const char *path)
|
||||
@@ -316,7 +316,7 @@ int sysfs_path_is_file(const char *path)
|
||||
errno = EINVAL;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: sysfsutils
|
||||
Version: 2.1.0
|
||||
Release: 32
|
||||
Release: 33
|
||||
Summary: A set of utilities for interfacing with sysfs
|
||||
License: GPLv2 and LGPLv2+
|
||||
URL: http://sourceforge.net/projects/linux-diag/
|
||||
@ -88,6 +88,9 @@ chrpath -d $(find $RPM_BUILD_ROOT -name systool)
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 30 2022 yanglongkang <yanglongkang@h-partners.com> - 2.1.0-33
|
||||
- correcting errors in 0009-path_is_file-should-call-stat-not-lstat.patch
|
||||
|
||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.1.0-32
|
||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user