pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch On second thought, don't filter out files...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8a6dd681e4d
branches:  trunk
changeset: 540620:f8a6dd681e4d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Apr 04 23:19:16 2008 +0000

description:
On second thought, don't filter out files with . Bump to 2.3.

diffstat:

 net/libfetch/Makefile     |  4 ++--
 net/libfetch/files/file.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r c17db58fa4b2 -r f8a6dd681e4d net/libfetch/Makefile
--- a/net/libfetch/Makefile     Fri Apr 04 22:37:28 2008 +0000
+++ b/net/libfetch/Makefile     Fri Apr 04 23:19:16 2008 +0000
@@ -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 -r c17db58fa4b2 -r f8a6dd681e4d net/libfetch/files/file.c
--- a/net/libfetch/files/file.c Fri Apr 04 22:37:28 2008 +0000
+++ b/net/libfetch/files/file.c Fri Apr 04 23:19:16 2008 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index