From a817575f3be1c76afd448a4aa61fd8f71d6d3a40 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Tue, 22 Jan 2013 19:42:00 +1100 Subject: [PATCH] Update to latest upstream version Signed-off-by: Angus Salkeld --- 0001-TEST-fix-typo-s-in-check_ipc.c.patch | 35 ---------------------- libqb.spec | 36 +++++++++++++++++++---- 2 files changed, 30 insertions(+), 41 deletions(-) delete mode 100644 0001-TEST-fix-typo-s-in-check_ipc.c.patch diff --git a/0001-TEST-fix-typo-s-in-check_ipc.c.patch b/0001-TEST-fix-typo-s-in-check_ipc.c.patch deleted file mode 100644 index 335cb49..0000000 --- a/0001-TEST-fix-typo-s-in-check_ipc.c.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 25828196a0862118a013c00efe1e63e5831da6d4 Mon Sep 17 00:00:00 2001 -From: Angus Salkeld -Date: Mon, 29 Oct 2012 11:54:23 +1100 -Subject: [PATCH] TEST: fix typo s/,/; in check_ipc.c - -Signed-off-by: Angus Salkeld ---- - tests/check_ipc.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/check_ipc.c b/tests/check_ipc.c -index c396d61..09ad619 100644 ---- a/tests/check_ipc.c -+++ b/tests/check_ipc.c -@@ -620,7 +620,7 @@ test_ipc_bulk_events(void) - - events_received = 0; - cl = qb_loop_create(); -- res = qb_ipcc_fd_get(conn, &fd), -+ res = qb_ipcc_fd_get(conn, &fd); - ck_assert_int_eq(res, 0); - res = qb_loop_poll_add(cl, QB_LOOP_MED, - fd, POLLIN, -@@ -692,7 +692,7 @@ test_ipc_event_on_created(void) - - events_received = 0; - cl = qb_loop_create(); -- res = qb_ipcc_fd_get(conn, &fd), -+ res = qb_ipcc_fd_get(conn, &fd); - ck_assert_int_eq(res, 0); - res = qb_loop_poll_add(cl, QB_LOOP_MED, - fd, POLLIN, --- -1.7.11.7 - diff --git a/libqb.spec b/libqb.spec index ff57d98..4ccb9f9 100644 --- a/libqb.spec +++ b/libqb.spec @@ -1,6 +1,6 @@ Name: libqb -Version: 0.14.3 -Release: 2%{?dist} +Version: 0.14.4 +Release: 1%{?dist} Summary: An IPC library for high performance servers Group: System Environment/Libraries @@ -9,8 +9,6 @@ URL: http://www.libqb.org Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch1: 0001-TEST-fix-typo-s-in-check_ipc.c.patch - BuildRequires: libtool doxygen procps check-devel automake #Requires: @@ -22,8 +20,6 @@ Initially these are IPC and poll. %prep %setup -q -%patch1 -p1 - # work-around for broken epoll in rawhide/f17 %build %configure --disable-static ac_cv_func_epoll_create1=no ac_cv_func_epoll_create=no @@ -70,6 +66,34 @@ developing applications that use %{name}. %{_mandir}/man8/qb-blackbox.8.gz %changelog +* Thu Jan 17 2013 Angus Salkeld - 0.14.4-1 +LOG: prevent the last char of the blackbox message from getting lost. +Example: make the blackbox example more practical. +Add the processing which remove notifier at skiplist_destroy function +Add the processing which remove hash node and notifier at hashtable_destroy function +Unify to QB_TRUE/QB_FALSE a boolean value +Document the default prefix in INSTALL +Unify the list processing with qb_list function +Add travis link to the readme. +Fix return code which is an error occurred at pthread function +TEST: add a progam to compare the speed of vsnprintf and qb_vsnprintf_serialize +LOG: add a test for a padded hex int. +Fedora's splint has a strange syntax error, don't fail on it. +LOG: fix truncation in some messages that get padded. +Fix the blackbox formatter when specifing the string len/precision +Fix strlcpy and strlcat functions +IPC: don't over log on disconnect +Make sure we don't use the format string whilst it is getting changed. +ptrie: deref the current node in trie_iter_free() +LOG: fix the format comparison to avoid generating multiple entries. +LOG: set the return code when calloc fails +IPC: call poll if we are mid message and get EAGAIN +Remove extra ";" +IPC: set the error more correctly when qb_sys_mmap_file_open() fails. +Make sure that mmap'ed files smaller than a page size are written to. +example/test: check for error in qb_ipc_run() +example: check for error in qb_ipc_run() +TEST: fix typo s/,/; in check_ipc.c * Mon Oct 29 2012 Angus Salkeld - 0.14.3-2 Fix test code highlighted by new check version