Dag-Erling Smørgrav 63428824c9 If the server reports the size as 0, treat it as unknown. This works around
a bug in some ftp servers (most notably ftp.vmunix.com) which report the
size of a file correctly in ascii mode, but report it as 0 in binary mode.

Reported by:	asmodai

Also remove an unneeded initialization.
2000-07-25 14:41:02 +00:00
..
2000-07-21 10:57:15 +00:00
2000-05-20 18:23:51 +00:00

This is the new fetch(3) library, which is to replace the ftpio(3)
library and provide a new, unified backend for all fetch(1),
pkg_add(1) and sysinstall(8).

Note that this is very much work in progress. It compiles (with a few
warnings), but there is much left to be implemented. Comments, patches
etc. of all kinds are welcome, but please don't commit anything
without talking to me first.

		-- Dag-Erling C. Smørgrav (des@FreeBSD.org)