oftpd.git
15 years ago* src/oftpd.c (reopen_syslog_hack): Removed.
Werner Koch [Wed, 13 Aug 2003 11:58:11 +0000 (11:58 +0000)]
* src/oftpd.c (reopen_syslog_hack): Removed.
(init_syslog_hack): Removed.  That was a whole stupid thing by me
as I didn'd realized that we are running chroot and so the
/dev/log socket could not be reopened by libc.
(main): Print a warning if there is no /dev directory below the
chroot.

* src/file_list.c (file_nlst,file_list): Don't list "/dev".
* src/ftp_session.c (change_dir, do_retr)
(do_size, do_mdtm): Likewise.

15 years ago(reopen_syslog_hack): Just comparing teh fd is not
Werner Koch [Tue, 12 Aug 2003 07:48:30 +0000 (07:48 +0000)]
(reopen_syslog_hack): Just comparing teh fd is not
enough due to a race conditions.  So always check whether the
syslog fd is still a unix domain socket.

15 years agoLets keep our version of opftpd in the CVS
Werner Koch [Mon, 11 Aug 2003 13:14:51 +0000 (13:14 +0000)]
Lets keep our version of opftpd in the CVS