pkgsrc/net/wu-ftpd/patches/patch-ak
2005-12-18 18:54:26 +00:00

21 lines
433 B
Text

$NetBSD: patch-ak,v 1.5 2005/12/18 18:54:26 joerg Exp $
--- src/glob.c.orig 2001-11-29 17:01:38.000000000 +0000
+++ src/glob.c
@@ -88,7 +88,6 @@ char **blkcpy(char **, register char **)
char *globerr;
char *home;
-extern int errno;
static int globcnt;
@@ -437,6 +436,8 @@ static int amatch(char *s, char *p)
continue;
case '*':
+ while (*p == '*')
+ p++;
if (!*p)
return (1);
if (*p == '/') {