Date: Wed, 19 Jul 2000 16:56:46 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fetch fetch.c Message-ID: <200007192356.QAA32914@freefall.freebsd.org>
index | next in thread | raw e-mail
des 2000/07/19 16:56:46 PDT
Modified files:
usr.bin/fetch fetch.c
Log:
Fix two bugs related to resumed transfers:
- if the dates didn't match, fetch would append the received file to the
existing file instead of replacing it.
- if the local file was complete and up-to-date, fetch would miscalculate
the expected size and report a failure instead of a success, because it
had no way of knowing that the server was actually resending the entire
file since the requested offset was invalid.
Revision Changes Path
1.14 +27 -21 src/usr.bin/fetch/fetch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007192356.QAA32914>
