The following commit has been merged in the master branch: commit 9a8b551b6bb4f6379905bdd8273b5800f858cbdc Author: Guillem Jover <guil...@debian.org> Date: Tue Feb 10 03:12:02 2009 +0200
dpkg: Rename assert_version_support argument verrev_buf to version diff --git a/ChangeLog b/ChangeLog index 73ee013..966012f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-02-10 Guillem Jover <guil...@debian.org> + * src/enquiry.c (assert_version_support): Rename verrev_buf argument + to version. + +2009-02-10 Guillem Jover <guil...@debian.org> + * src/enquiry.c (assert_version_support): Add new feature_name argument, and use it when printing the output messages. Fix all callers. diff --git a/src/enquiry.c b/src/enquiry.c index 7840748..d57073a 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -239,7 +239,7 @@ void unpackchk(const char *const *argv) { static void assert_version_support(const char *const *argv, - struct versionrevision *verrev_buf, + struct versionrevision *version, const char *feature_name) { struct pkginfo *pkg; @@ -256,7 +256,7 @@ assert_version_support(const char *const *argv, break; case stat_unpacked: case stat_halfconfigured: case stat_halfinstalled: case stat_triggersawaited: - if (versionsatisfied3(&pkg->configversion,verrev_buf,dvr_laterequal)) + if (versionsatisfied3(&pkg->configversion, version, dvr_laterequal)) break; printf(_("Version of dpkg with working %s support not yet configured.\n" " Please use 'dpkg --configure dpkg', and then try again.\n"), -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org