freebsd-nq/usr.bin/find
Jilles Tjoelker 3e02329a38 find: Fix -lname and -ilname.
The code did not take into account that readlink() does not add a
terminating '\0', and therefore did not work reliably.

As before, symlinks of length PATH_MAX or more are not handled correctly.
(These can only be created on other operating systems.)

PR:		bin/185393
Submitted by:	Ben Reser (original version)
MFC after:	1 week
2014-01-05 21:44:04 +00:00
..
extern.h Add an option for finding sparse files. 2013-03-03 20:10:56 +00:00
find.1 Add an option for finding sparse files. 2013-03-03 20:10:56 +00:00
find.c find: Implement real -ignore_readdir_race. 2012-07-25 21:59:10 +00:00
find.h find: Include nanoseconds when comparing timestamps of files. 2013-03-17 22:51:58 +00:00
function.c find: Fix -lname and -ilname. 2014-01-05 21:44:04 +00:00
getdate.y Fix world after byacc import: 2012-05-22 16:33:10 +00:00
ls.c Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:19 +00:00
main.c find: Run when cwd cannot be opened, except with -execdir or -delete. 2013-02-10 18:56:37 +00:00
Makefile Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
misc.c
operator.c
option.c Add an option for finding sparse files. 2013-03-03 20:10:56 +00:00