Subject: CVS commit: pkgsrc/net/tnftp
To: None <pkgsrc-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: pkgsrc-changes
Date: 06/10/2005 05:10:03
Module Name: pkgsrc
Committed By: lukem
Date: Fri Jun 10 05:10:03 UTC 2005
Modified Files:
pkgsrc/net/tnftp: Makefile
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.
To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 pkgsrc/net/tnftp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.