aboutsummaryrefslogtreecommitdiff
path: root/ftp/wget-devel/files/patch-src_fnmatch_c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/wget-devel/files/patch-src_fnmatch_c')
-rw-r--r--ftp/wget-devel/files/patch-src_fnmatch_c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ftp/wget-devel/files/patch-src_fnmatch_c b/ftp/wget-devel/files/patch-src_fnmatch_c
deleted file mode 100644
index 5da55bc4f562..000000000000
--- a/ftp/wget-devel/files/patch-src_fnmatch_c
+++ /dev/null
@@ -1,21 +0,0 @@
-$OpenBSD: patch-src_fnmatch_c,v 1.1 2002/12/10 18:37:24 brad Exp $
---- src/fnmatch.c.orig Tue Dec 10 13:06:09 2002
-+++ src/fnmatch.c Tue Dec 10 13:07:23 2002
-@@ -188,6 +188,17 @@ fnmatch (const char *pattern, const char
- return (FNM_NOMATCH);
- }
-
-+/* Return non-zero if S has a leading '/' or contains '../' */
-+int
-+has_invalid_name (const char *s)
-+{
-+ if (*s == '/')
-+ return 1;
-+ if (strstr(s, "../") != 0)
-+ return 1;
-+ return 0;
-+}
-+
- /* Return non-zero if S contains globbing wildcards (`*', `?', `[' or
- `]'). */
- int