1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

restore historical NLIST behaviour

PR:		16183
Submitted by:	Dag-Erling Smørgrav <des@yes.no>
This commit is contained in:
Andrey A. Chernov 2000-01-24 22:33:20 +00:00
parent 1cdc3378b8
commit 21fbdc7516
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25039
2 changed files with 40 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {