]> code.ossystems Code Review - openembedded-core.git/commit
file: fix regression for determining DB file type
authorYi Zhao <yi.zhao@windriver.com>
Thu, 12 Jul 2018 05:19:36 +0000 (13:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2018 09:09:29 +0000 (10:09 +0100)
commit99e50d9e53ab23fc643c46378fa8c36190995335
treee68259bb2ffabfe0d0e64f89aa2228fdd1fd8ed4
parenta88f1b5d88dbc5fb28be24b9787d73b9e0cdf183
file: fix regression for determining DB file type

The version 5.33 introduced a regression bug for determining the DB file
type. Backport a patch from upstream to fix it.

Before apply the patch:
$ file aliases.db
aliases.db: created: Thu Jan  1 00:38:24 1970, modified: Thu Jan  1 00:00:00 1970

After apply the patch:
$ file aliases.db
aliases.db: Berkeley DB (Btree, version 9, native byte-order)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/file/file/fix-bogus-magic.patch [new file with mode: 0644]
meta/recipes-devtools/file/file_5.33.bb