Subject: PR/15943 CVS commit: src/usr.bin/ftp
To: None <lukem@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Luke Mewburn <lukem@netbsd.org>
List: netbsd-bugs
Date: 05/10/2007 05:20:02
The following reply was made to PR bin/15943; it has been noted by GNATS.
From: Luke Mewburn <lukem@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/15943 CVS commit: src/usr.bin/ftp
Date: Thu, 10 May 2007 05:17:11 +0000 (UTC)
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.