From: Arch Librarian Date: Mon, 20 Sep 2004 16:56:57 +0000 (+0000) Subject: Ignore .* for configuration directory processing. Close... X-Git-Tag: 0.7.24ubuntu1~1079 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/721e08d670a6579561389e4302c874f17676ec11 Ignore .* for configuration directory processing. Close... Author: jgg Date: 2001-03-03 23:29:55 GMT Ignore .* for configuration directory processing. Closes: #86923 --- diff --git a/apt-pkg/contrib/configuration.cc b/apt-pkg/contrib/configuration.cc index b3b425cda..18dded669 100644 --- a/apt-pkg/contrib/configuration.cc +++ b/apt-pkg/contrib/configuration.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: configuration.cc,v 1.15 2001/02/20 07:03:17 jgg Exp $ +// $Id: configuration.cc,v 1.16 2001/03/03 23:29:55 jgg Exp $ /* ###################################################################### Configuration Class @@ -697,8 +697,7 @@ bool ReadConfigDir(Configuration &Conf,string Dir,bool AsSectional, for (struct dirent *Ent = readdir(D); Ent != 0; Ent = readdir(D)) { - if (strcmp(Ent->d_name,".") == 0 || - strcmp(Ent->d_name,"..") == 0) + if (Ent->d_name[0] == '.') continue; // Skip bad extensions diff --git a/debian/changelog b/debian/changelog index 3199cfb74..8e2fee212 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ apt (0.5.1) unstable; urgency=low * Fixed #82894 again, or should be and. * Process the option string right. Closes: #86921 + * Don't eat the last command for pipes. Closes: #86923 + * Ignore .* for configuration directory processing. Closes: #86923 * Alfredo's no_proxy patch * Documentation fixes. Closes: #87091 * JoeyH's double slash bug