This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7d8b505882cc9cae1913a909f1fafa515a227d96 commit 7d8b505882cc9cae1913a909f1fafa515a227d96 Author: Guillem Jover <guil...@debian.org> AuthorDate: Tue Aug 14 05:51:39 2018 +0200 libdpkg: Rename pkg-db module to pkg-hash It contains the package hash table implementation. The on-disk database is handled elsewhere, and using db here instead of hash makes it fairly confusing. --- debian/changelog | 1 + lib/dpkg/Makefile.am | 2 +- lib/dpkg/{pkg-db.c => pkg-hash.c} | 2 +- po/POTFILES.in | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 389afc626..9b36cf7f8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -183,6 +183,7 @@ dpkg (1.19.1) UNRELEASED; urgency=medium - libdpkg: Move files list information from dpkg clientdata to pkginfo. - dpkg: Move ensure_package_clientdata() into its own file. - libdpkg: Move db-fsys code from src to lib/dpkg. + - libdpkg: Rename pkg-db module to pkg-hash. * Build system: - Set distribution tarball format to ustar, instead of default v7 format. - Mark PO4A and POD2MAN as precious variables. diff --git a/lib/dpkg/Makefile.am b/lib/dpkg/Makefile.am index e3d68576c..fae6e8ca7 100644 --- a/lib/dpkg/Makefile.am +++ b/lib/dpkg/Makefile.am @@ -85,9 +85,9 @@ libdpkg_la_SOURCES = \ path.c \ path-remove.c \ pkg.c \ - pkg-db.c \ pkg-array.c \ pkg-format.c \ + pkg-hash.c \ pkg-list.c \ pkg-namevalue.c \ pkg-queue.c \ diff --git a/lib/dpkg/pkg-db.c b/lib/dpkg/pkg-hash.c similarity index 99% rename from lib/dpkg/pkg-db.c rename to lib/dpkg/pkg-hash.c index ab90412a3..6413b5058 100644 --- a/lib/dpkg/pkg-db.c +++ b/lib/dpkg/pkg-hash.c @@ -1,6 +1,6 @@ /* * libdpkg - Debian packaging suite library routines - * pkg-db.c - low level package database routines (hash tables, etc.) + * pkg-hash.c - low level package database routines (hash tables, etc.) * * Copyright © 1995 Ian Jackson <ijack...@chiark.greenend.org.uk> * Copyright © 2008-2014 Guillem Jover <guil...@debian.org> diff --git a/po/POTFILES.in b/po/POTFILES.in index 8aeef181e..78bb36950 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -43,8 +43,8 @@ lib/dpkg/parsehelp.c lib/dpkg/path-remove.c lib/dpkg/path.c lib/dpkg/pkg-array.c -lib/dpkg/pkg-db.c lib/dpkg/pkg-format.c +lib/dpkg/pkg-hash.c lib/dpkg/pkg-list.c lib/dpkg/pkg-namevalue.c lib/dpkg/pkg-queue.c -- Dpkg.Org's dpkg