freebsd-ports/ftp/wu-ftpd/files/patch-al
Andrey A. Chernov 91c52082e7 Prevent dologout goes to mainloop
Use system default CFLAGS
1997-01-02 19:12:00 +00:00

18 lines
416 B
Text

*** 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, "", "");