Subject: CVS commit: [netbsd-3] src/usr.bin/ftp
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/24/2005 10:23:36
Module Name:	src
Committed By:	tron
Date:		Sun Jul 24 10:23:36 UTC 2005

Modified Files:
	src/usr.bin/ftp [netbsd-3]: util.c

Log Message:
Pull up revision 1.127 (requested by lukem in ticket #606):
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'.
Per discussion with Todd Eigenschink.


To generate a diff of this commit:
cvs rdiff -r1.117.2.9 -r1.117.2.10 src/usr.bin/ftp/util.c

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