diff options
author | ache <ache@FreeBSD.org> | 2000-01-25 06:33:20 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-01-25 06:33:20 +0800 |
commit | fdcce3b83b213154c3178a7c2c013a35b998d989 (patch) | |
tree | 0e43a1e751aac62fe2e34013fa5e483013fc4fab /ftp | |
parent | 455173a3e1ecbd59dceba8960c35ae5082587eff (diff) | |
download | freebsd-ports-gnome-fdcce3b83b213154c3178a7c2c013a35b998d989.tar.gz freebsd-ports-gnome-fdcce3b83b213154c3178a7c2c013a35b998d989.tar.zst freebsd-ports-gnome-fdcce3b83b213154c3178a7c2c013a35b998d989.zip |
restore historical NLIST behaviour
PR: 16183
Submitted by: Dag-Erling Smørgrav <des@yes.no>
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-aa | 20 | ||||
-rw-r--r-- | ftp/wu-ftpd/files/patch-aa | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-aa b/ftp/wu-ftpd+ipv6/files/patch-aa new file mode 100644 index 000000000000..339533ff98ed --- /dev/null +++ b/ftp/wu-ftpd+ipv6/files/patch-aa @@ -0,0 +1,20 @@ +--- src/ftpd.c.orig Tue Jan 18 19:35:30 2000 ++++ src/ftpd.c Tue Jan 18 19:38:50 2000 +@@ -6346,7 +6346,6 @@ + } + goto globfree; + } +- if ((st.st_mode & S_IFMT) != S_IFDIR) { + if (dout == NULL) { + dout = dataconn("file list", (off_t) - 1, "w"); + if (dout == NULL) +@@ -6369,7 +6368,6 @@ + byte_count_out++; + } + #endif +- } + } + + if (dout != NULL) { + + diff --git a/ftp/wu-ftpd/files/patch-aa b/ftp/wu-ftpd/files/patch-aa new file mode 100644 index 000000000000..339533ff98ed --- /dev/null +++ b/ftp/wu-ftpd/files/patch-aa @@ -0,0 +1,20 @@ +--- src/ftpd.c.orig Tue Jan 18 19:35:30 2000 ++++ src/ftpd.c Tue Jan 18 19:38:50 2000 +@@ -6346,7 +6346,6 @@ + } + goto globfree; + } +- if ((st.st_mode & S_IFMT) != S_IFDIR) { + if (dout == NULL) { + dout = dataconn("file list", (off_t) - 1, "w"); + if (dout == NULL) +@@ -6369,7 +6368,6 @@ + byte_count_out++; + } + #endif +- } + } + + if (dout != NULL) { + + |