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=5997521cc98bddfb2be4c80a69b120624b249313 commit 5997521cc98bddfb2be4c80a69b120624b249313 Author: Guillem Jover <[email protected]> AuthorDate: Sun Dec 1 04:20:41 2019 +0100 libdpkg: Fix modstatdb_rw enum comments --- debian/changelog | 1 + lib/dpkg/dpkg-db.h | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9bea51e35..f141aa57e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -134,6 +134,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium - libdpkg: Fix memory leaks in zlib and bz2 decompression functions. - libdpkg: Add new dir_make_path() and dir_make_path_parent() functions. - libdpkg: Add new atomic file flag to create the base path when missing. + - libdpkg: Fix modstatdb_rw enum comments. * Build system: - Bump minimal Perl version to 5.24.1. - Add a serial versioning to the m4 files. diff --git a/lib/dpkg/dpkg-db.h b/lib/dpkg/dpkg-db.h index 10de6d3e2..6c818ba47 100644 --- a/lib/dpkg/dpkg-db.h +++ b/lib/dpkg/dpkg-db.h @@ -261,10 +261,12 @@ char *dpkg_db_get_path(const char *pathpart); /*** from dbmodify.c ***/ enum modstatdb_rw { - /* Those marked with \*s*\ are possible returns from modstatdb_init. */ - msdbrw_readonly/*s*/, msdbrw_needsuperuserlockonly/*s*/, + /* Those marked with «return» are possible returns from modstatdb_open(). */ + msdbrw_readonly, /* «return» */ + msdbrw_needsuperuserlockonly, /* «return» */ msdbrw_writeifposs, - msdbrw_write/*s*/, msdbrw_needsuperuser, + msdbrw_write, /* «return» */ + msdbrw_needsuperuser, /* Now some optional flags (starting at bit 8): */ msdbrw_available_readonly = DPKG_BIT(8), -- Dpkg.Org's dpkg

