aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-01-03 03:12:00 +0800
committerache <ache@FreeBSD.org>1997-01-03 03:12:00 +0800
commit55d516cb822603d2481427e62fd3ee2447429a9c (patch)
tree144187b7d58112e7669c06126bc555e62fa22729 /ftp
parent3e7152b0517b6cddf8e2fb9151f7c3b826be7d8f (diff)
downloadfreebsd-ports-gnome-55d516cb822603d2481427e62fd3ee2447429a9c.tar.gz
freebsd-ports-gnome-55d516cb822603d2481427e62fd3ee2447429a9c.tar.zst
freebsd-ports-gnome-55d516cb822603d2481427e62fd3ee2447429a9c.zip
Prevent dologout goes to mainloop
Use system default CFLAGS
Diffstat (limited to 'ftp')
-rw-r--r--ftp/wu-ftpd+ipv6/files/patch-al18
-rw-r--r--ftp/wu-ftpd/files/patch-al18
2 files changed, 36 insertions, 0 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-al b/ftp/wu-ftpd+ipv6/files/patch-al
new file mode 100644
index 000000000000..f4f9264cc955
--- /dev/null
+++ b/ftp/wu-ftpd+ipv6/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, "", "");
+
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, "", "");
+