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=7640aae4a08c871496748cc68bc9e79646ac895e commit 7640aae4a08c871496748cc68bc9e79646ac895e Author: Guillem Jover <[email protected]> AuthorDate: Thu Nov 7 02:15:56 2024 +0100 dpkg-deb: Rename control area functions to check_ctrl_*() Changelog: internal --- src/deb/build.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/deb/build.c b/src/deb/build.c index 124017efb..adf3b3afb 100644 --- a/src/deb/build.c +++ b/src/deb/build.c @@ -206,7 +206,7 @@ static const char *const maintainerscripts[] = { * Check control directory and file permissions. */ static void -check_file_perms(const char *ctrldir) +check_ctrl_perms(const char *ctrldir) { struct varbuf path = VARBUF_INIT; const char *const *mscriptp; @@ -364,7 +364,7 @@ check_conffiles(const char *ctrldir, const char *rootdir) * @return The pkginfo struct from the parsed control file. */ static struct pkginfo * -check_control_file(const char *ctrldir) +check_ctrl_control(const char *ctrldir) { struct pkginfo *pkg; char *controlfile; @@ -400,8 +400,8 @@ check_control_area(const char *ctrldir, const char *rootdir) int warns; /* Start by reading in the control file so we can check its contents. */ - pkg = check_control_file(ctrldir); - check_file_perms(ctrldir); + pkg = check_ctrl_control(ctrldir); + check_ctrl_perms(ctrldir); check_conffiles(ctrldir, rootdir); warns = warning_get_count(); -- Dpkg.Org's dpkg

