mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Prevent dologout goes to mainloop
Use system default CFLAGS
This commit is contained in:
parent
d5faabab8c
commit
91c52082e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5169
18
ftp/wu-ftpd+ipv6/files/patch-al
Normal file
18
ftp/wu-ftpd+ipv6/files/patch-al
Normal file
@ -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, "", "");
|
||||
|
18
ftp/wu-ftpd/files/patch-al
Normal file
18
ftp/wu-ftpd/files/patch-al
Normal file
@ -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, "", "");
|
||||
|
Loading…
Reference in New Issue
Block a user