mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update WWW
- Regenerate patches
This commit is contained in:
parent
f285e61454
commit
e76b7da17b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561202
2 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- src/ftp_session.c.orig Sun Jun 17 03:45:08 2001
|
--- src/ftp_session.c.orig 2004-03-25 20:46:40 UTC
|
||||||
+++ src/ftp_session.c Sun Jun 17 03:46:26 2001
|
+++ src/ftp_session.c
|
||||||
@@ -1165,7 +1165,7 @@
|
@@ -1165,7 +1165,7 @@ static void do_retr(ftp_session_t *f, const ftp_comman
|
||||||
/* for sendfile(), we still have to use a loop to avoid
|
/* for sendfile(), we still have to use a loop to avoid
|
||||||
having our watchdog time us out on large files - it does
|
having our watchdog time us out on large files - it does
|
||||||
allow us to avoid an extra copy to/from user space */
|
allow us to avoid an extra copy to/from user space */
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
offset = f->file_offset;
|
offset = f->file_offset;
|
||||||
file_size = stat_buf.st_size - offset;
|
file_size = stat_buf.st_size - offset;
|
||||||
while (offset < stat_buf.st_size) {
|
while (offset < stat_buf.st_size) {
|
||||||
@@ -1200,7 +1200,7 @@
|
@@ -1200,7 +1200,7 @@ static void do_retr(ftp_session_t *f, const ftp_comman
|
||||||
|
|
||||||
watchdog_defer_watched(f->watched);
|
watchdog_defer_watched(f->watched);
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
for (;;) {
|
for (;;) {
|
||||||
read_ret = read(file_fd, buf, sizeof(buf));
|
read_ret = read(file_fd, buf, sizeof(buf));
|
||||||
if (read_ret == -1) {
|
if (read_ret == -1) {
|
||||||
@@ -1219,7 +1219,7 @@
|
@@ -1219,7 +1219,7 @@ static void do_retr(ftp_session_t *f, const ftp_comman
|
||||||
|
|
||||||
watchdog_defer_watched(f->watched);
|
watchdog_defer_watched(f->watched);
|
||||||
}
|
}
|
|
@ -6,4 +6,4 @@ directory change code, so that it can run efficiently as a threaded server, and
|
||||||
its own directory listing code (most FTP servers execute the system "ls"
|
its own directory listing code (most FTP servers execute the system "ls"
|
||||||
command to list files).
|
command to list files).
|
||||||
|
|
||||||
WWW: http://www.time-travellers.org/oftpd/
|
WWW: https://www.time-travellers.org/oftpd/
|
||||||
|
|
Loading…
Add table
Reference in a new issue