Path to this page:
Subject: CVS commit: pkgsrc/net/tnftp
From: Luke Mewburn
Date: 2005-06-10 07:10:03
Message id: 20050610051003.0700C2DA27@cvs.netbsd.org
Log Message:
Update to tnftp 20050610.
Notable changes (see files/ChangeLog for full details):
* Convert to use getline() instead of fgets() whenever reading user input to
ensure that an overly long input line doesn't leave excess characters for
the next input operation to accidentally use as input.
Should fix PR 23953.
* Improve method used in fileindir() to determine if `file' is in or under
`dir': realpath(3) on non-NetBSD systems may fail if the target filename
doesn't exist, so instead use realpath(3) on the parent directory of `file'.
(The previous code was over-aggressive in preventing transfers on systems
with a realpath(3) that had different semantics to NetBSD.)
* Various portability fixes.
Files: