/[base]
ViewVC logotype

Revision 327362


Jump to revision: Previous Next
Author: cem
Date: Fri Dec 29 22:08:43 2017 UTC (6 years, 6 months ago)
Changed paths: 5
Log Message:
find(1): Fix -newer and -samefile to conform to POSIX[0]

By default, or with the -P flag, find(1) should evaluate paths "physically."
For symlinks, this means using the link itself instead of the target.

Historically (since the import of BSD 4.4-lite from CSRG), find(1) has
failed to refer to the link itself, at least for -newer and -samefile.

[0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html

PR:		222698
Reported by:	Harald Schmalzbauer <bugzilla.freebsd AT omnilan.de>
Sponsored by:	Dell EMC Isilon


Changed paths

Path Details
Directoryhead/usr.bin/find/Makefile modified , text changed
Directoryhead/usr.bin/find/function.c modified , text changed
Directoryhead/usr.bin/find/tests/ added
Directoryhead/usr.bin/find/tests/Makefile added
Directoryhead/usr.bin/find/tests/find_test.sh added

  ViewVC Help
Powered by ViewVC 1.1.27