From fdcce3b83b213154c3178a7c2c013a35b998d989 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 24 Jan 2000 22:33:20 +0000 Subject: restore historical NLIST behaviour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: 16183 Submitted by: Dag-Erling Smørgrav --- ftp/wu-ftpd+ipv6/files/patch-aa | 20 ++++++++++++++++++++ ftp/wu-ftpd/files/patch-aa | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 ftp/wu-ftpd+ipv6/files/patch-aa create mode 100644 ftp/wu-ftpd/files/patch-aa (limited to 'ftp') 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) { + + -- cgit