Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 11/26/1999 13:41:58
Module Name: basesrc
Committed By: lukem
Date: Fri Nov 26 21:41:58 UTC 1999
Modified Files:
basesrc/usr.bin/ftp: cmds.c complete.c fetch.c ftp.1 ftp.c main.c
util.c
Log Message:
* complete_remote(): use remglob("", ...) instead of remglob(".", ...),
for listings of the current working directory; some ftp servers don't
like `NLST .'.
[noted by Giles Lean <giles@nemeton.com.au>]
* recvrequest(): treat remote=="" as remote==NULL when calling command().
(to support the above change)
* support `[user@]' in `[user@]host' and `[user@]host[:][path]'.
[based on idea (and initial code) from David Maxwell <david@fundy.ca>]
* `idle' may be invoked without any args
* reformat some comments
* reformat usage string in program and man page
* call updateremotepwd() after successful login, not after successful connect
* always call setsockopt(, IPPROTO_IP, IP_TOS, ) (et al); using #if
defined(IPPROTO_IP) doesn't work on certain foreign systems where
enums instead of #defines are used...
[noted by Matthias Pfaller <leo@dachau.marco.de>]
To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 basesrc/usr.bin/ftp/cmds.c
cvs rdiff -r1.34 -r1.35 basesrc/usr.bin/ftp/complete.c
cvs rdiff -r1.96 -r1.97 basesrc/usr.bin/ftp/fetch.c
cvs rdiff -r1.59 -r1.60 basesrc/usr.bin/ftp/ftp.1
cvs rdiff -r1.87 -r1.88 basesrc/usr.bin/ftp/ftp.c
cvs rdiff -r1.67 -r1.68 basesrc/usr.bin/ftp/main.c
cvs rdiff -r1.82 -r1.83 basesrc/usr.bin/ftp/util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.