aboutsummaryrefslogtreecommitdiff
path: root/ftp/wu-ftpd
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-01-02 19:12:00 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-01-02 19:12:00 +0000
commit91c52082e7408342e64ca1f7a6a0b5cfcbf8ed9e (patch)
treeed8893da6e7da42397bf7cb6269a114086f31e07 /ftp/wu-ftpd
parentd5faabab8cd4f86e4932b706f380a43e5734d845 (diff)
downloadports-91c52082e7408342e64ca1f7a6a0b5cfcbf8ed9e.tar.gz
ports-91c52082e7408342e64ca1f7a6a0b5cfcbf8ed9e.zip
Prevent dologout goes to mainloop
Use system default CFLAGS
Notes
Notes: svn path=/head/; revision=5169
Diffstat (limited to 'ftp/wu-ftpd')
-rw-r--r--ftp/wu-ftpd/files/patch-al18
1 files changed, 18 insertions, 0 deletions
diff --git a/ftp/wu-ftpd/files/patch-al b/ftp/wu-ftpd/files/patch-al
new file mode 100644
index 000000000000..f4f9264cc955
--- /dev/null
+++ b/ftp/wu-ftpd/files/patch-al
@@ -0,0 +1,18 @@
+*** ftpd.c.bak Wed Jan 1 22:10:05 1997
+--- src/ftpd.c Wed Jan 1 22:10:14 1997
+***************
+*** 2503,2508 ****
+--- 2503,2514 ----
+ void
+ dologout(int status)
+ {
++ /*
++ * Prevent reception of SIGURG from resulting in a resumption
++ * back to the main program loop.
++ */
++ transflag = 0;
++
+ if (logged_in) {
+ (void) seteuid((uid_t) 0);
+ logwtmp(ttyline, "", "");
+