import libqb-2.0.3-10.el9

This commit is contained in:
CentOS Sources 2022-04-05 06:19:04 -04:00 committed by Stepan Oksanichenko
parent d02097634b
commit 8411778e35
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,22 @@
commit f5106342d023e7cc238899ec7a567ad1eeb9b404
Author: Christine Caulfield <ccaulfie@redhat.com>
Date: Wed Mar 2 15:23:39 2022 +0000
ipcc: Fix errno returned from qb_ipcc_connect
The errno value from qb_ipcc_connect was incorrectly negated
when I introduced qb_ipcc_async_connect()
diff --git a/lib/ipcc.c b/lib/ipcc.c
index c744ea1..4f35ea2 100644
--- a/lib/ipcc.c
+++ b/lib/ipcc.c
@@ -152,7 +152,7 @@ disconnect_and_cleanup:
free(c->receive_buf);
free(c);
errno = -res;
- return -res;
+ return res;
}

View File

@ -3,7 +3,7 @@
Name: libqb Name: libqb
Version: 2.0.3 Version: 2.0.3
Release: 7%{?dist} Release: 10%{?dist}
Summary: Library providing high performance logging, tracing, ipc, and poll Summary: Library providing high performance logging, tracing, ipc, and poll
License: LGPLv2+ License: LGPLv2+
@ -12,6 +12,7 @@ Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{versio
Patch0: bz2031865-add-async-connect.patch Patch0: bz2031865-add-async-connect.patch
Patch1: bz2031865-bump-version-for-async.patch Patch1: bz2031865-bump-version-for-async.patch
Patch2: bz2057527-fix-connect-errno.patch
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
BuildRequires: check-devel BuildRequires: check-devel
@ -35,6 +36,7 @@ and polling.
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%patch0 -p1 -b .bz2031865-add-async-connect %patch0 -p1 -b .bz2031865-add-async-connect
%patch1 -p1 -b .bz2031865-bump-version-for-async %patch1 -p1 -b .bz2031865-bump-version-for-async
%patch2 -p1 -b .bz2057527-fix-connect-errno
%build %build
./autogen.sh ./autogen.sh
@ -107,6 +109,18 @@ This package contains a program to create nicely-formatted man pages from Doxyge
%changelog %changelog
* Fri Mar 4 2022 Christine Caulfield <ccaulfie@redhat.com> 2.0.3-10
- Fix silly typo in spec file
Resolves: rhbz#2057527
* Fri Mar 4 2022 Christine Caulfield <ccaulfie@redhat.com> 2.0.3-9
- Bump version to try a build for rhel-9.0.0
Resolves: rhbz#2057527
* Thu Mar 3 2022 Christine Caulfield <ccaulfie@redhat.com> 2.0.3-8
- Fix negative errno in qb_ipcc_connect (introduced in 2.0.3-4)
Resolves: rhbz#2057527
* Wed Jan 19 2022 Christine Caulfield <ccaulfie@redhat.com> 2.0.3-7 * Wed Jan 19 2022 Christine Caulfield <ccaulfie@redhat.com> 2.0.3-7
- Bump soname for async-connect API addition - Bump soname for async-connect API addition
Resolves: rhbz#bz2031865 Resolves: rhbz#bz2031865