From c1a43345ca463d02b6d012f604787cb66f093c7c Mon Sep 17 00:00:00 2001
From: "Andrey A. Chernov" <ache@FreeBSD.org>
Date: Sun, 24 Oct 1999 11:44:34 +0000
Subject: Fix 'dir .' (works as dir *)

Submitted by:	Makoto MATSUSHITA <matusita@jp.freebsd.org>
---
 ftp/wu-ftpd+ipv6/files/patch-ap | 11 +++++++++++
 ftp/wu-ftpd/files/patch-ap      | 11 +++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 ftp/wu-ftpd+ipv6/files/patch-ap
 create mode 100644 ftp/wu-ftpd/files/patch-ap

diff --git a/ftp/wu-ftpd+ipv6/files/patch-ap b/ftp/wu-ftpd+ipv6/files/patch-ap
new file mode 100644
index 000000000000..1fe5e1602398
--- /dev/null
+++ b/ftp/wu-ftpd+ipv6/files/patch-ap
@@ -0,0 +1,11 @@
+--- src/glob.c.dist	Tue Oct  5 11:54:42 1999
++++ src/glob.c	Thu Oct 21 19:51:03 1999
+@@ -107,7 +107,7 @@
+ 
+     fixpath(v);
+     if (v[0] == '\0')
+-	v = "*";
++	v = ".";
+     else if ((strlen(v) > 1) && (v[strlen(v) - 1] == '/'))
+ 	v[strlen(v) - 1] = '\0';
+ 
diff --git a/ftp/wu-ftpd/files/patch-ap b/ftp/wu-ftpd/files/patch-ap
new file mode 100644
index 000000000000..1fe5e1602398
--- /dev/null
+++ b/ftp/wu-ftpd/files/patch-ap
@@ -0,0 +1,11 @@
+--- src/glob.c.dist	Tue Oct  5 11:54:42 1999
++++ src/glob.c	Thu Oct 21 19:51:03 1999
+@@ -107,7 +107,7 @@
+ 
+     fixpath(v);
+     if (v[0] == '\0')
+-	v = "*";
++	v = ".";
+     else if ((strlen(v) > 1) && (v[strlen(v) - 1] == '/'))
+ 	v[strlen(v) - 1] = '\0';
+ 
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0