Subject: CVS commit: src/usr.bin/ftp
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/10/2007 05:17:10
Module Name:	src
Committed By:	lukem
Date:		Thu May 10 05:17:10 UTC 2007

Modified Files:
	src/usr.bin/ftp: ftp.c version.h

Log Message:
Implement copy_bytes() to copy bytes from one fd to another via the
provided buffer, with optional rate-limiting and hash-mark printing,
using one loop and handle short writes.
Refactor sendrequest() and recvrequest() to use copy_data().
Addresses PR 15943.


To generate a diff of this commit:
cvs rdiff -r1.148 -r1.149 src/usr.bin/ftp/ftp.c
cvs rdiff -r1.63 -r1.64 src/usr.bin/ftp/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.