diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-04 23:19:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-04 23:19:16 +0000 |
commit | f455c5329c1eb92e3624eeeb7dcd42325fe8bd3e (patch) | |
tree | 5641272063821a125e5ea8c0884907825d6a20b5 /net | |
parent | b1abb0ddf569bfda2884a60ac45cdf75a176558f (diff) | |
download | pkgsrc-f455c5329c1eb92e3624eeeb7dcd42325fe8bd3e.tar.gz |
On second thought, don't filter out files with . Bump to 2.3.
Diffstat (limited to 'net')
-rw-r--r-- | net/libfetch/Makefile | 4 | ||||
-rw-r--r-- | net/libfetch/files/file.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile index c783bdaa0f1..97fe8de241b 100644 --- a/net/libfetch/Makefile +++ b/net/libfetch/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2008/04/04 22:37:28 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2008/04/04 23:19:16 joerg Exp $ # -DISTNAME= libfetch-2.2 +DISTNAME= libfetch-2.3 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty diff --git a/net/libfetch/files/file.c b/net/libfetch/files/file.c index b888d160835..ce5d08fa991 100644 --- a/net/libfetch/files/file.c +++ b/net/libfetch/files/file.c @@ -1,4 +1,4 @@ -/* $NetBSD: file.c,v 1.4 2008/04/04 22:37:28 joerg Exp $ */ +/* $NetBSD: file.c,v 1.5 2008/04/04 23:19:16 joerg Exp $ */ /*- * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav * All rights reserved. @@ -211,7 +211,7 @@ fetchFilteredListFile(struct url *u, const char *pattern, const char *flags) l = sizeof(fn) - strlen(fn) - 1; while ((de = readdir(dir)) != NULL) { - if (fnmatch(pattern, de->d_name, FNM_PERIOD) != 0) + if (fnmatch(pattern, de->d_name, 0) != 0) continue; strncpy(p, de->d_name, l - 1); p[l - 1] = 0; |