Sync libfetch and fetch with FreeBSD.
authorSascha Wildner <swildner@dragonflybsd.org>
Sun, 5 Aug 2007 21:48:12 +0000 (21:48 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sun, 5 Aug 2007 21:48:12 +0000 (21:48 +0000)
commit54e9236dfe256d78b23e89cca26e0f01fd617960
treed8137ef898f6c6bc22b30117b42a94a090aa1823
parent3dad161dafac961b5f1a2e565fbd236da1f171d0
Sync libfetch and fetch with FreeBSD.

* Plug a memory leak in libfetch.

* First try to change the entire directory path at once. If an error
  occurs, fall back to the default method of one CWD per directory
  element.

* fetch will now show the transfer speed while fetching (better progress
  output format).

* Numerous other fixes.
13 files changed:
lib/libfetch/Makefile
lib/libfetch/common.c
lib/libfetch/common.h
lib/libfetch/fetch.3
lib/libfetch/fetch.c
lib/libfetch/fetch.h
lib/libfetch/file.c
lib/libfetch/ftp.c
lib/libfetch/ftp.errors
lib/libfetch/http.c
lib/libfetch/http.errors
usr.bin/fetch/fetch.1
usr.bin/fetch/fetch.c