diff --git a/0005-Correct-errno-comparison-571.patch b/0005-Correct-errno-comparison-571.patch new file mode 100644 index 0000000000000000000000000000000000000000..fb7b2f6f31bd38f4715851fa481d5d74febe5d64 --- /dev/null +++ b/0005-Correct-errno-comparison-571.patch @@ -0,0 +1,25 @@ +From 5d38afc8a5b4a2a6e27aad7a1840046e99cd826d Mon Sep 17 00:00:00 2001 +From: Andrew Gaul +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 + diff --git a/fuse3.spec b/fuse3.spec index 21558aba00bce8152de1466e0273997229cfe8ab..7bef6b54c766b0b2bacdaf29eb3ca36e6bf5643d 100644 --- a/fuse3.spec +++ b/fuse3.spec @@ -2,7 +2,7 @@ Name: fuse3 Version: %{fuse3ver} -Release: 8 +Release: 9 Summary: User space File System of fuse3 License: GPL+ and LGPLv2+ 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 Patch3: 0003-fuse_lowlevel-Move-assert-for-se-before-dereferencin.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: autoconf, automake, libtool, gettext-devel, ninja-build @@ -103,6 +104,9 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir} %{_mandir}/man8/* %changelog +* Thu Aug 18 2022 liwenchong -3.9.2-9 +- Correct errno comparison + * Tue Dec 28 2021 yanglongkang -3.9.2-8 - correcting Source0 error