From: Tollef Fog Heen Date: Sun, 20 Jul 2008 17:19:41 +0000 (+0200) Subject: Add complete file path to names, not just the file name. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fcafc555fa042b8b0f4ab262959694655421c16;p=dpkg Add complete file path to names, not just the file name. --- diff --git a/src/filters.c b/src/filters.c index de72aef0..4e7e31c8 100644 --- a/src/filters.c +++ b/src/filters.c @@ -120,7 +120,7 @@ loadfilters(void) if (stat(file, &statbuf) != 0) ohshite(_("error stating file '%s'"), file); if (S_ISREG(statbuf.st_mode)) { - names[i++] = m_strdup(dent->d_name); + names[i++] = m_strdup(file); if (i == names_len) { names_len *= 2; names = m_realloc(names,