Date: Sun, 24 Feb 2008 00:01:06 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/find function.c Message-ID: <200802240001.m1O016WU050799@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2008-02-24 00:01:06 UTC
FreeBSD src repository
Modified files:
usr.bin/find function.c
Log:
The matching in -lname and -ilname are on the contents of the link
itself, not on the type of the file. As such, do a readlink to get
the symbolic link's contents and fail to match if the path isn't a
symbolic link.
Pointed out by: des@
Revision Changes Path
1.60 +10 -5 src/usr.bin/find/function.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802240001.m1O016WU050799>
