From 721e08d670a6579561389e4302c874f17676ec11 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:56:57 +0000 Subject: Ignore .* for configuration directory processing. Close... Author: jgg Date: 2001-03-03 23:29:55 GMT Ignore .* for configuration directory processing. Closes: #86923 --- apt-pkg/contrib/configuration.cc | 5 ++--- debian/changelog | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3