Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/ftp



Module Name:    src
Committed By:   lukem
Date:           Thu May 26 02:59:34 UTC 2005

Modified Files:
        src/usr.bin/ftp: util.c version.h

Log Message:
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.126 -r1.127 src/usr.bin/ftp/util.c
cvs rdiff -r1.50 -r1.51 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.




Home | Main Index | Thread Index | Old Index