This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=4ddb46ac28df4b290b9055e20268b850a019385e commit 4ddb46ac28df4b290b9055e20268b850a019385e Author: Guillem Jover <[email protected]> AuthorDate: Mon Mar 28 20:22:59 2022 +0200 libdpkg: Update code comment for obsolete fields The comment was still referencing the old nicknames structure. Fixes: commit 3a017177110da9f54668b614f78aeb98bf73796d --- lib/dpkg/parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dpkg/parse.c b/lib/dpkg/parse.c index f2a36db0a..9ff3b686f 100644 --- a/lib/dpkg/parse.c +++ b/lib/dpkg/parse.c @@ -84,7 +84,9 @@ const struct fieldinfo fieldinfos[]= { { FIELD("Description"), f_charfield, w_charfield, PKGIFPOFF(description) }, { FIELD("Triggers-Pending"), f_trigpend, w_trigpend }, { FIELD("Triggers-Awaited"), f_trigaw, w_trigaw }, - /* Note that aliases are added to the nicknames table. */ + + /* The following are the obsolete fields that get remapped to their + * modern forms, while emitting an obsolescence warning. */ { FIELD("Recommended"), f_obs_dependency, w_null, dep_recommends }, { FIELD("Optional"), f_obs_dependency, w_null, dep_suggests }, { FIELD("Class"), f_obs_class, w_null }, -- Dpkg.Org's dpkg

