diff options
author | joerg <joerg> | 2008-04-04 23:19:16 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-04-04 23:19:16 +0000 |
commit | 9bc624ee2116dd9ce97b492cde2910fca6c8f937 (patch) | |
tree | 5641272063821a125e5ea8c0884907825d6a20b5 /net/libfetch | |
parent | 23f06637a34d28e9e847f4b136b20ee21a6f24b7 (diff) | |
download | pkgsrc-9bc624ee2116dd9ce97b492cde2910fca6c8f937.tar.gz |
On second thought, don't filter out files with . Bump to 2.3.
Diffstat (limited to 'net/libfetch')
-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; |