From: Tollef Fog Heen Date: Sun, 20 Jan 2008 08:50:41 +0000 (+0100) Subject: Move loadfilters to dpkg's main function X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d3a2c60d4d382fa04076b642500abacaf46083;p=dpkg Move loadfilters to dpkg's main function --- diff --git a/lib/dpkg.h b/lib/dpkg.h index f1e0c41e..ff3ac9ac 100644 --- a/lib/dpkg.h +++ b/lib/dpkg.h @@ -181,7 +181,6 @@ extern const char printforhelp[]; umask(022); /* Make sure all our status databases are readable. */\ if (loadcfg)\ loadcfgfile(prog, cmdinfos);\ - loadfilters();\ myopt(argv,cmdinfos);\ } while (0) diff --git a/src/main.c b/src/main.c index 7fadab9f..b2fbc4de 100644 --- a/src/main.c +++ b/src/main.c @@ -626,6 +626,8 @@ int main(int argc, const char *const *argv) { standard_startup(&ejbuf, argc, &argv, DPKG, 1, cmdinfos); if (!cipaction) badusage(_("need an action option")); + loadfilters(); + setvbuf(stdout,0,_IONBF,0); filesdbinit();