]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The matching in -lname and -ilname are on the contents of the link
authorWarner Losh <imp@FreeBSD.org>
Sun, 24 Feb 2008 00:01:06 +0000 (00:01 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sun, 24 Feb 2008 00:01:06 +0000 (00:01 +0000)
commitacebb585f710fccf9029ecb753ee462c2c79dc0d
tree138047f45a1595faa5f0f23479c2e2464549661b
parentc2602b5b06e7c049aa675b0625bddc06f2c8f8fe
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@
usr.bin/find/function.c