oftpd/src (6 files)

cvs user werner cvs@cvs.gnupg.org
Wed, 13 Aug 2003 13:58:12 +0200


    Date: Wednesday, August 13, 2003 @ 13:58:12
  Author: werner
    Path: /cvs/wk/oftpd/src

Modified: file_list.c ftp_listener.c ftp_session.c oftpd.c oftpd.h
          telnet_session.c

* 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.


------------------+
 file_list.c      |   17 +++++++++-
 ftp_listener.c   |    4 --
 ftp_session.c    |   37 ++++++++++++++---------
 oftpd.c          |   85 +++++++++++++----------------------------------------
 oftpd.h          |    6 ---
 telnet_session.c |    3 -
 6 files changed, 64 insertions(+), 88 deletions(-)