diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2000-01-24 22:33:20 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2000-01-24 22:33:20 +0000 |
commit | 21fbdc75166973aab42d93a928e7bc7901cbe416 (patch) | |
tree | 0935f8cf966c9020a4c48eafcadbab3d11208c12 /ftp | |
parent | 1cdc3378b8d821885a6121a485d3abf11d5a72ad (diff) |
restore historical NLIST behaviour
PR: 16183
Submitted by: Dag-Erling Smørgrav <des@yes.no>
Notes
Notes:
svn path=/head/; revision=25039
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) { + + |