Correct errno comparison
This commit is contained in:
parent
70e5c981e5
commit
3d25fe7f4c
25
0005-Correct-errno-comparison-571.patch
Normal file
25
0005-Correct-errno-comparison-571.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 5d38afc8a5b4a2a6e27aad7a1840046e99cd826d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andrew Gaul <gaul@google.com>
|
||||||
|
Date: Mon, 14 Dec 2020 19:16:05 +0900
|
||||||
|
Subject: [PATCH] Correct errno comparison (#571)
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/fuse.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/fuse.c b/lib/fuse.c
|
||||||
|
index b0f5b30..5f872fa 100755
|
||||||
|
--- a/lib/fuse.c
|
||||||
|
+++ b/lib/fuse.c
|
||||||
|
@@ -4533,7 +4533,7 @@ static int fuse_session_loop_remember(struct fuse *f)
|
||||||
|
|
||||||
|
res = poll(&fds, 1, timeout * 1000);
|
||||||
|
if (res == -1) {
|
||||||
|
- if (errno == -EINTR)
|
||||||
|
+ if (errno == EINTR)
|
||||||
|
continue;
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: fuse3
|
Name: fuse3
|
||||||
Version: %{fuse3ver}
|
Version: %{fuse3ver}
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: User space File System of fuse3
|
Summary: User space File System of fuse3
|
||||||
License: GPL+ and LGPLv2+
|
License: GPL+ and LGPLv2+
|
||||||
URL: http://fuse.sf.net
|
URL: http://fuse.sf.net
|
||||||
@ -13,6 +13,7 @@ Patch1: 0001-fix-chown-and-mknod-failed.patch
|
|||||||
Patch2: 0002-libfuse-Assign-NULL-to-old-to-avoid-free-it-twice-52.patch
|
Patch2: 0002-libfuse-Assign-NULL-to-old-to-avoid-free-it-twice-52.patch
|
||||||
Patch3: 0003-fuse_lowlevel-Move-assert-for-se-before-dereferencin.patch
|
Patch3: 0003-fuse_lowlevel-Move-assert-for-se-before-dereferencin.patch
|
||||||
Patch4: 0004-revert-fuse_daemonize-chdir-to-even-if-not-run.patch
|
Patch4: 0004-revert-fuse_daemonize-chdir-to-even-if-not-run.patch
|
||||||
|
Patch5: 0005-Correct-errno-comparison-571.patch
|
||||||
|
|
||||||
BuildRequires: libselinux-devel, pkgconfig, systemd-udev, meson, fdupes
|
BuildRequires: libselinux-devel, pkgconfig, systemd-udev, meson, fdupes
|
||||||
BuildRequires: autoconf, automake, libtool, gettext-devel, ninja-build
|
BuildRequires: autoconf, automake, libtool, gettext-devel, ninja-build
|
||||||
@ -103,6 +104,9 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 18 2022 liwenchong <liwenchong@kylinos.cn> -3.9.2-9
|
||||||
|
- Correct errno comparison
|
||||||
|
|
||||||
* Tue Dec 28 2021 yanglongkang <yanglongkang@huawei.com> -3.9.2-8
|
* Tue Dec 28 2021 yanglongkang <yanglongkang@huawei.com> -3.9.2-8
|
||||||
- correcting Source0 error
|
- correcting Source0 error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user