diff options
author | ache <ache@FreeBSD.org> | 1997-01-03 03:12:00 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-01-03 03:12:00 +0800 |
commit | 55d516cb822603d2481427e62fd3ee2447429a9c (patch) | |
tree | 144187b7d58112e7669c06126bc555e62fa22729 | |
parent | 3e7152b0517b6cddf8e2fb9151f7c3b826be7d8f (diff) | |
download | freebsd-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
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-al | 18 | ||||
-rw-r--r-- | ftp/wu-ftpd/files/patch-al | 18 |
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, "", ""); + |