Age | Commit message (Collapse) | Author |
|
service, you'll need to stick with openbsd 5.6.
bonus: remove references to ebcdic.
ok deraadt
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
down paths not previously marked as signal handled unsafe. Try to clean
up a few of them especially regarding errno, mark others as unsafe, and
repair a few by avoiding stdio. Glanced at by misc people in Slovenia,
but considered too risky before release..
|
|
client got the -r switch and -d depth option.
From Jan Klemkow <j.klemkow AT wemelug DOT de>
OK haesbaert@
|
|
small stuff. make it a fetcher. shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@
|
|
some space
discussed with theo, todd@, millert@
tested and looked over by sthen@
|
|
|
|
- resume ftp transfers [-C, reget, mget], if local file does not
exist
ok theo
|
|
|
|
as a result it can do nice things getit() does such as:
- -n: use 'newer' for transfers (fetches files that are newer on
the server, than locally), this can be used for e.g. mirroring (mget
-cnr 4.* would fetch missing files, continue interrupted transfers,
and replace newer files of 4.X dirs)
- -d: spedify depth of the recurrence. e.g. 'mget -rd 2 patches'
in pub/openbsd would fetch only archive files, not going further
into dirs
- use static restartit, max_depth instead of doing the magic
tested/requested&ok merdely@; ok pyr@, millert@
man page tweaks&ok jmc@
|
|
commands which toggle settings can take an explicit on or off argument
to force the setting appropiately, show these arguments in usage;
synchronize synopsis and usage of commands; spacing; KNF;
other minor documentation tweaks.
written with help by jmc@
ok jmc@ (documentation), martynas@ (type usage and default file transfer type)
|
|
'mget -cr 4.*' would recursively fetch (-r), and resume the previous
transfers (-c) of 4.X release directories
uses local matching (fnmatch), but only for recursive transfers.
current behavior is not changed in any way.
- while here, ifndef SMALL debugging stuff, this saves some space,
for floppies
- some debugging code was enabled for non-debugging mode, checks
assume debug is set to zero, but it's not initially set
- all "Confirm with" prompts are forced, remove redundant argument
- fix usage: -C and -c are not available for SMALL
discussed a year ago w/ pyr@
looks good to millert@
previous version looked good to pyr@
man page tweaks & ok jmc@
|
|
- use argv[0] for "Confirm with", as other confirm()s do
- fix confirm cases, pass force=1 for mdelete and mabort too, fixes
a bug when you end up deleting all files when you ^C, instead of
getting a confirmation
- add reput command, that will allow to continue transfer uploads
- add -c for mget and mput, that will allow to continue multiple
transfers
- fix a bug when you use restart command together with put. the
progressmeter would start from zero, and eta would show fictional
time. this actually allows reput/put -c to have correct progressmeter
too
- document everything
discussed with, suggestions, reminded to ifdef SMALL the code so
we're able to fit in floppies, and ok millert@, and jmc@
|
|
- add '?', which will help
- make use of mflag, instead of special-case interactive
- change mflag++ to mflag = 1, because theoretically it can go out
of range
"i like it" millert@. man page help and ok jmc@
|
|
confirm() to have a 'force' argument, so that ointer/oconf dance
is not needed, and to prevent further bugs like this; ok millert@
|
|
m*() cases; ok millert@
|
|
probably doesn't compile, since the types for some variables have
changed from long to char *).
OK millert@
|
|
ok pyr@, ray@, millert@, moritz@, chl@
|
|
turned off. This is consistent with historic UNIX behavior.
|
|
``OK!'' deraadt@.
|
|
OK moritz@ and jaredy@.
|
|
Initial patch from Charles Longeau <chl at tuxfamily dot org>.
OK moritz@ and jaredy@.
|
|
OK beck@
|
|
comments. No binary change.
Found by lint.
OK beck@, deraadt@
|
|
|
|
ok millert@ deraadt@, prodding by david@
|
|
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes an uninitialized use of nrestart_point.
|
|
|
|
|
|
|
|
automagicaslly disable epsv on ipv4, if epsv fails for single connection.
merge from netbsd-current.
req from fgs.
|
|
NLST but some ftp server (notably wu-ftpd 2.6.x) only list files
in the output of NLST. This behavior appears to be RFC conforming
and it makes things like "mget *" behave more sanely. To get just
the file list you can still use the "nlist" command.
|
|
|
|
|
|
that is, use PAGER rather than "more" if it is defined and non-null, not
just if it is defined.
|
|
|
|
|
|
o getopt string is wrong in main(); (missing : after P)
o use of vprintf(...) instead of vfprintf(ttyout,...) in ftp.c::command()
o missing \n in fputs in cmds.c::status()
o should use strtol() instead of atol()
o sometimes use 'NULL' instead of 'NUL' (in comments)
|
|
before use. Hopefully, this is the last of the
PR# 406 stuff that this will need.
|
|
Motomichi Matsuzaki (mzaki@e-mail.ne.jp)
for the fix.
|