2008-09-09 03:53:37 +00:00
|
|
|
diff -up vsftpd-2.0.7/standalone.c.close-fds vsftpd-2.0.7/standalone.c
|
|
|
|
--- vsftpd-2.0.7/standalone.c.close-fds 2008-09-08 23:36:32.000000000 -0400
|
|
|
|
+++ vsftpd-2.0.7/standalone.c 2008-09-08 23:37:53.000000000 -0400
|
|
|
|
@@ -131,6 +131,9 @@ vsf_standalone_main(void)
|
2005-11-09 08:58:28 +00:00
|
|
|
die("could not bind listening IPv6 socket");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+ vsf_sysutil_close(0);
|
|
|
|
+ vsf_sysutil_close(1);
|
|
|
|
+ vsf_sysutil_close(2);
|
2008-09-09 03:53:37 +00:00
|
|
|
retval = vsf_sysutil_listen(listen_sock, VSFTP_LISTEN_BACKLOG);
|
|
|
|
if (vsf_sysutil_retval_is_error(retval))
|
|
|
|
{
|