aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wu-ftpd+ipv6
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-10-24 19:44:34 +0800
committerache <ache@FreeBSD.org>1999-10-24 19:44:34 +0800
commit921c57f3416b6561134b31c0cebc024c70d92bfc (patch)
treeb7a4611cf4a6fa557016b14d07ed825ee727d250 /ftp/wu-ftpd+ipv6
parent2a573a48c77e5968af29aaa98ee1acc8286ad185 (diff)
downloadfreebsd-ports-graphics-921c57f3416b6561134b31c0cebc024c70d92bfc.tar.gz
freebsd-ports-graphics-921c57f3416b6561134b31c0cebc024c70d92bfc.tar.zst
freebsd-ports-graphics-921c57f3416b6561134b31c0cebc024c70d92bfc.zip
Fix 'dir .' (works as dir *)
Submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org>
Diffstat (limited to 'ftp/wu-ftpd+ipv6')
-rw-r--r--ftp/wu-ftpd+ipv6/files/patch-ap11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-ap b/ftp/wu-ftpd+ipv6/files/patch-ap
new file mode 100644
index 00000000000..1fe5e160239
--- /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';
+