!21 correcting errors in 0009-path_is_file-should-call-stat-not-lstat.patch
From: @markeryang Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
d7a0815465
@ -8,10 +8,10 @@ Subject: [PATCH 9/9] path_is_file() should call stat(), not lstat()
|
|||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/lib/sysfs_utils.c b/lib/sysfs_utils.c
|
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
|
--- a/lib/sysfs_utils.c
|
||||||
+++ b/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;
|
errno = EINVAL;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: sysfsutils
|
Name: sysfsutils
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 32
|
Release: 33
|
||||||
Summary: A set of utilities for interfacing with sysfs
|
Summary: A set of utilities for interfacing with sysfs
|
||||||
License: GPLv2 and LGPLv2+
|
License: GPLv2 and LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/linux-diag/
|
URL: http://sourceforge.net/projects/linux-diag/
|
||||||
@ -88,6 +88,9 @@ chrpath -d $(find $RPM_BUILD_ROOT -name systool)
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.1.0-32
|
||||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user