Subject: rfc2228 in ftpd
To: None <tech-userlevel@NetBSD.org>
From: Aidan Cully <aidan@kublai.com>
List: tech-userlevel
Date: 06/22/2002 22:39:14
I plan to commit this next week, if there are no objections.  The patch
is in ftp://ftp.netbsd.org/pub/incoming/aidan/ftp-patch.tgz .  Since
the last time I posted, there was a change that sort-of conflicted with
my patch (which, I know, is what I get for waiting years to commit
things), namely enami's change to use either mmap() or read() to read
a file before sending it...  I admit, I don't fully understand this
patch (I can see what it does, but not why it does it...  for performance,
I assume.), so I kind of hacked around it by employing enami's method when
there's no protection on the file to be transmitted, and my method
otherwise.  I know this is a kludge, but I figure it's an important
feature, and it can be cleaned up after the initial commit.

So play around with it, let me know if I should do something else with
the patch before committing it.

--aidan