The following commit has been merged in the master branch:
commit 2f51ccafaa591e1175335e9893adfa781858d6af
Author: Guillem Jover <guil...@debian.org>
Date:   Mon Apr 16 04:07:20 2012 +0200

    u-a: Rename filter_altdir() to altdb_filter_namelist()

diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c
index 6a213f9..46fe85e 100644
--- a/utils/update-alternatives.c
+++ b/utils/update-alternatives.c
@@ -399,7 +399,7 @@ log_msg(const char *fmt, ...)
 }
 
 static int
-filter_altdir(const struct dirent *entry)
+altdb_filter_namelist(const struct dirent *entry)
 {
        if (strcmp(entry->d_name, ".") == 0 ||
            strcmp(entry->d_name, "..") == 0 ||
@@ -415,7 +415,7 @@ altdb_get_namelist(struct dirent ***table)
 {
        int count;
 
-       count = scandir(admdir, table, filter_altdir, alphasort);
+       count = scandir(admdir, table, altdb_filter_namelist, alphasort);
        if (count < 0)
                syserr(_("cannot scan directory `%.255s'"), admdir);
 

-- 
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

Reply via email to