SVNews r327362

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-29 22:08:43 - r327362 by cem (cem)

Complete list of files affected by revision r327362:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/usr.bin/find/Makefile  
  History   Contents   Diff   MODIFY   /head/usr.bin/find/function.c  
   Contents     ADD   /head/usr.bin/find/tests  
  History   Contents     ADD   /head/usr.bin/find/tests/Makefile  
  History   Contents     ADD   /head/usr.bin/find/tests/find_test.sh  

Commit 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

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 36 ms, 5 files printed. Current time is 2018-04-20 07:00:59. All times are in UTC/GMT.