]> code.ossystems Code Review - openembedded-core.git/commit
apr-util: fix ptest fail problem
authorChangqing Li <changqing.li@windriver.com>
Thu, 13 Sep 2018 05:45:46 +0000 (13:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Sep 2018 15:28:26 +0000 (16:28 +0100)
commit0952c190fc6aec333676ce3883e8232fa8595551
tree0f0820da9fa6a8a6ab1ada1519da436740e640e0
parent3667a8ec016bae3f8026ef7b4c895546804f6368
apr-util: fix ptest fail problem

Test suite test_dbm failed after gdbm upgrtade to 13.1,
from 13.1, return value of some function are changed.

* gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior

If the requested key was not found, these functions return datum with
dptr pointing to NULL and set gdbm_errno to GDBM_ITEM_NOT_FOUND (in
prior releases, gdbm_errno was set to GDBM_NO_ERROR),

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/apr/apr-util/0001-Fix-error-handling-in-gdbm.patch [new file with mode: 0644]
meta/recipes-support/apr/apr-util_1.6.1.bb