<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.bin/find/function.c, branch release/8.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-02-16T16:18:46Z</updated>
<entry>
<title>Copy releng/8.2 to release/8.2.0 for 8.2-RELEASE.</title>
<updated>2011-02-16T16:18:46Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2011-02-16T16:18:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dec99dafe5763ba1db6950342aa80a634169c083'/>
<id>urn:sha1:dec99dafe5763ba1db6950342aa80a634169c083</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 8.2-RELEASE image.
</content>
</entry>
<entry>
<title>Merge r203865 from head:</title>
<updated>2010-03-17T20:16:28Z</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2010-03-17T20:16:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=27dfb536f20f77bf1abea77b092345b3e3a46e69'/>
<id>urn:sha1:27dfb536f20f77bf1abea77b092345b3e3a46e69</id>
<content type='text'>
  The -newerXB option was being interpreted the same as the -newerXm option
  as a check for F_TIME2_B was missing.  Fix this.

PR:		bin/138245
Submitted by:	"David E. Cross"  &lt;crossd cs.rpi.edu&gt;
</content>
</entry>
<entry>
<title>MFC r196839:</title>
<updated>2010-01-30T14:54:12Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2010-01-30T14:54:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4e86d39db2fc24f70a2dd0c8aa09b1b738d3a48b'/>
<id>urn:sha1:4e86d39db2fc24f70a2dd0c8aa09b1b738d3a48b</id>
<content type='text'>
Add NFSv4 ACL support to find(1).
</content>
</entry>
<entry>
<title>rm, find -delete: fix removing symlinks with uchg/uappnd set.</title>
<updated>2009-05-30T10:42:19Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2009-05-30T10:42:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6911f596a1f53ba67b25ae4df2c5bddca6b29740'/>
<id>urn:sha1:6911f596a1f53ba67b25ae4df2c5bddca6b29740</id>
<content type='text'>
Formerly, this tried to clear the flags on the symlink's target
instead of the symlink itself.

As before, this only happens for root or for the unlink(1) variant of rm.

PR:		bin/111226 (part of)
Submitted by:	Martin Kammerhofer
Approved by:	ed (mentor)
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>find: do not silently disable -L when -delete is used</title>
<updated>2009-05-19T14:23:54Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2009-05-19T14:23:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=05e605b7649eaa47028b444ece1800b5ed11e6e5'/>
<id>urn:sha1:05e605b7649eaa47028b444ece1800b5ed11e6e5</id>
<content type='text'>
First of all, current behavior is not documented and confusing,
and it can be very dangerous in the following sequence:
find -L . -type l
find -L . -type l -delete
(the second line is even suggested by find(1)).

Instead simply refuse to proceed when -L and -delete are both used.
A descriptive error message is provided.
The following command can be safely used to remove broken links:
find -L . -type l -print0 | xargs rm -0

To do:		update find(1)
PR:		bin/90687
Obtained from:	Anatoli Klassen &lt;anatoli@aksoft.net&gt;
Approved by:	jhb (mentor)
</content>
</entry>
<entry>
<title>The matching in -lname and -ilname are on the contents of the link</title>
<updated>2008-02-24T00:01:06Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2008-02-24T00:01:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=acebb585f710fccf9029ecb753ee462c2c79dc0d'/>
<id>urn:sha1:acebb585f710fccf9029ecb753ee462c2c79dc0d</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Implement a number of primaries present in GNU find, but not present</title>
<updated>2008-02-23T16:29:04Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2008-02-23T16:29:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=46b993ff99b655a1b6148d429601f24e16e8f475'/>
<id>urn:sha1:46b993ff99b655a1b6148d429601f24e16e8f475</id>
<content type='text'>
in our find.

The following are nops because they aren't relevant to our find:
	-ignore_readdir_race
	-noignore_readdir_race
	-noleaf
The following aliaes were created:
	-gid -&gt; -group		[2]
	-uid -&gt; -user		[2]
	-wholename -&gt; -path
	-iwholename -&gt; ipath
	-mount -&gt; -xdev
	-d -&gt; -depth		[1]
The following new primaries were created:
	-lname	like -name, but matches symbolic links only)
	-ilname like -lname but case insensitive
	-quit	exit(0)
	-samefile returns true for hard links to the specified file
	-true	Always true
I changed one primary to match GNU find since I think our use of it violates
POLA
	-false	Always false (was an alias for -not!)

Also, document the '+' modifier for -execdir, as well as all of the above.
This was previously implemented.

Document the remaining 7 primaries that are in GNU find, but aren't yet
implemented in find(1)

[1] This was done in GNU find for compatibility with FreeBSD, yet they
mixed up command line args and primary args.

[2] -uid/-gid in GNU find ONLY takes a numeric arg, but that arg does the
normal range thing that.  GNU find -user and -uid also take a numberic arg,
but don't do the range processing.  find(1) does both for -user and -group,
so making -uid and -gid aliases is compatible for all non-error cases used
in GNU find.  While not perfect emulation, this seems a reasonable thing
for us.
</content>
</entry>
<entry>
<title>Add the capability for a trailing scale indicator to cause the</title>
<updated>2006-05-27T18:27:41Z</updated>
<author>
<name>Kirill Ponomarev</name>
<email>krion@FreeBSD.org</email>
</author>
<published>2006-05-27T18:27:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5a890aac5786247196ecf100b15ad678eaf80c26'/>
<id>urn:sha1:5a890aac5786247196ecf100b15ad678eaf80c26</id>
<content type='text'>
specified size to be read in the more familiar units of kilobytes,
megabytes, gigabytes, terabytes and petabytes.

PR:		bin/50988
Submitted by:	Matthew Seaman &lt;m.seaman@infracaninophile.co.uk&gt;
MFC after:	7 days
</content>
</entry>
<entry>
<title>Enable numeric arguments and +/- prefixes with -user (-group)</title>
<updated>2006-05-25T21:20:43Z</updated>
<author>
<name>Kirill Ponomarev</name>
<email>krion@FreeBSD.org</email>
</author>
<published>2006-05-25T21:20:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4ba3b38b64f33353b293c85335b88c2cb7f81d26'/>
<id>urn:sha1:4ba3b38b64f33353b293c85335b88c2cb7f81d26</id>
<content type='text'>
options.

PR:		bin/71513
Submitted by:	Andre Albsmeier &lt;Andre.Albsmeier@siemens.com&gt;
MFC after:	7 days
</content>
</entry>
<entry>
<title>The last execution of -exec {} + is not done if the -exec primary is</title>
<updated>2006-05-14T20:23:01Z</updated>
<author>
<name>Kirill Ponomarev</name>
<email>krion@FreeBSD.org</email>
</author>
<published>2006-05-14T20:23:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=22170420ec824e09edb8f2c0f30de913712884b9'/>
<id>urn:sha1:22170420ec824e09edb8f2c0f30de913712884b9</id>
<content type='text'>
not on the top-level -and sequence, e.g. inside of ! or -or.

Create a separate linked list of all active -exec {} + primaries and
do the last execution for all at termination.

PR:		bin/79263
Submitted by:	Jilles Tjoelker &lt;jilles@stack.nl&gt;
MFC after:	7 days
</content>
</entry>
</feed>
