blob: 0de0a228707c2c870afb31056c1baa92b534f548 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ak,v 1.4 2005/03/01 16:06:37 wiz Exp $
--- src/glob.c.orig 2001-11-29 18:01:38.000000000 +0100
+++ src/glob.c
@@ -437,6 +437,8 @@ static int amatch(char *s, char *p)
continue;
case '*':
+ while (*p == '*')
+ p++;
if (!*p)
return (1);
if (*p == '/') {
|