Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/14/2000 06:44:29
Module Name: basesrc
Committed By: lukem
Date: Wed Jun 14 13:44:28 UTC 2000
Modified Files:
basesrc/libexec/ftpd: Makefile extern.h ftpcmd.y ftpd.8 ftpd.c
version.h
Added Files:
basesrc/libexec/ftpd: cmds.c
Log Message:
major overhaul (just before netbsd 1.5 :-):
* implement draft-ietf-ftpext-mlst-10 commands, especially MLST and MLSD.
we already supported SIZE and MDTM. add the appropriate FEAT output lines.
* migrate a lot of the command code from ftpcmd.y and ftpd.c to cmds.c
* make dataconn(), feat(), lookup(), opts() and sizecmd() public
* modify struct tab so that it has a `flags' instead of `implemented' element,
and remove the `hasopts' element. If flags == 1, the command is implemented.
if flags == 2, the command is implemented and takes options
* add macros ISDOTDIR(x) (is x ".") and ISDOTDOTDIR(x) (is x "..")
* modify lreply() so that lreply(-2, ...) just outputs the given info without
a prefix or trailing \r\n. this saves doing b = printf(); total_* += b;
* enhance statcmd(). still needs work in the LPRT status stuff.
* crank version
To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 basesrc/libexec/ftpd/Makefile
cvs rdiff -r0 -r1.1 basesrc/libexec/ftpd/cmds.c
cvs rdiff -r1.26 -r1.27 basesrc/libexec/ftpd/extern.h
cvs rdiff -r1.46 -r1.47 basesrc/libexec/ftpd/ftpcmd.y
cvs rdiff -r1.51 -r1.52 basesrc/libexec/ftpd/ftpd.8
cvs rdiff -r1.92 -r1.93 basesrc/libexec/ftpd/ftpd.c
cvs rdiff -r1.10 -r1.11 basesrc/libexec/ftpd/version.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.